GET api/Transactions/GenerateMotoOrder/{motoToken}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
motoToken

string

Required

Body Parameters

None.

Response Information

Resource Description

MotoOrderResponseModel
NameDescriptionTypeAdditional information
OrderId

string

None.

InitiatedBy

string

None.

CardId

integer

None.

CardName

string

None.

SubCardId

string

None.

PurchaseAmount

decimal number

None.

ServiceChargePercent

decimal number

None.

CurrencyCode

string

None.

CountryFrom

integer

None.

CountryTo

integer

None.

CouponCode

string

None.

OriginalOrderId

string

None.

Pin

string

None.

TransactionType

string

None.

CustomerDetail

CustomerInfo

None.

CreditCardInfo

CreditCardInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderId": "sample string 1",
  "InitiatedBy": "sample string 2",
  "CardId": 3,
  "CardName": "sample string 4",
  "SubCardId": "sample string 5",
  "PurchaseAmount": 6.1,
  "ServiceChargePercent": 7.1,
  "CurrencyCode": "sample string 8",
  "CountryFrom": 9,
  "CountryTo": 10,
  "CouponCode": "sample string 11",
  "OriginalOrderId": "sample string 12",
  "Pin": "sample string 13",
  "TransactionType": "sample string 14",
  "CustomerDetail": {
    "CustomerId": 1,
    "MemberId": "sample string 2",
    "EmailAddress": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "PhoneNumber": "sample string 6",
    "Address": {
      "Address": "sample string 1",
      "City": "sample string 2",
      "State": "sample string 3",
      "CountryId": 4,
      "CountryCode": "sample string 5",
      "PostalCode": "sample string 6"
    }
  },
  "CreditCardInfo": {
    "CardNumber": "sample string 1",
    "ExpirationMonth": "sample string 2",
    "ExpirationYear": "sample string 3",
    "CardVerificationValue": "sample string 4",
    "NameOnCard": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<MotoOrderResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Transactions">
  <CardId>3</CardId>
  <CardName>sample string 4</CardName>
  <CountryFrom>9</CountryFrom>
  <CountryTo>10</CountryTo>
  <CouponCode>sample string 11</CouponCode>
  <CreditCardInfo>
    <CardNumber>sample string 1</CardNumber>
    <CardVerificationValue>sample string 4</CardVerificationValue>
    <ExpirationMonth>sample string 2</ExpirationMonth>
    <ExpirationYear>sample string 3</ExpirationYear>
    <NameOnCard>sample string 5</NameOnCard>
  </CreditCardInfo>
  <CurrencyCode>sample string 8</CurrencyCode>
  <CustomerDetail>
    <Address>
      <Address>sample string 1</Address>
      <City>sample string 2</City>
      <CountryCode>sample string 5</CountryCode>
      <CountryId>4</CountryId>
      <PostalCode>sample string 6</PostalCode>
      <State>sample string 3</State>
    </Address>
    <CustomerId>1</CustomerId>
    <EmailAddress>sample string 3</EmailAddress>
    <FirstName>sample string 4</FirstName>
    <LastName>sample string 5</LastName>
    <MemberId>sample string 2</MemberId>
    <PhoneNumber>sample string 6</PhoneNumber>
  </CustomerDetail>
  <InitiatedBy>sample string 2</InitiatedBy>
  <OrderId>sample string 1</OrderId>
  <OriginalOrderId>sample string 12</OriginalOrderId>
  <Pin>sample string 13</Pin>
  <PurchaseAmount>6.1</PurchaseAmount>
  <ServiceChargePercent>7.1</ServiceChargePercent>
  <SubCardId>sample string 5</SubCardId>
  <TransactionType>sample string 14</TransactionType>
</MotoOrderResponseModel>