POST api/{apiVersion}/GsmTopUp/Request

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

GsmTopUpRequest
NameDescriptionTypeAdditional information
TransactionId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

CustomerAcccountId

globally unique identifier

None.

CustomerAccountId

globally unique identifier

None.

PackageName

string

None.

PackageCode

string

None.

Amount

decimal number

None.

AmountCurrencyCode

string

None.

LocalAmount

decimal number

None.

LocalAmountCurrencyCode

string

None.

ExpenseAmount

decimal number

None.

ExpenseAmountCurrencyCode

string

None.

ExpenseId

globally unique identifier

None.

WholeSalesPrice

decimal number

None.

WholeSalesPriceCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionId": "27778a5a-c3e2-485e-b157-dd384305c2d4",
  "CustomerId": "5596e4e9-4e77-4b36-8b83-a0e360f2e24f",
  "CustomerAcccountId": "827e9df6-aada-4192-9661-1e6a9a9cb209",
  "CustomerAccountId": "c665f1d4-35b2-41a7-a3d3-5917788ff545",
  "PackageName": "sample string 5",
  "PackageCode": "sample string 6",
  "Amount": 7.0,
  "AmountCurrencyCode": "sample string 8",
  "LocalAmount": 9.0,
  "LocalAmountCurrencyCode": "sample string 10",
  "ExpenseAmount": 11.0,
  "ExpenseAmountCurrencyCode": "sample string 12",
  "ExpenseId": "dfa02713-0674-4e8f-9409-bcf7aaf0054c",
  "WholeSalesPrice": 14.0,
  "WholeSalesPriceCode": "sample string 15"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfGsmTopUpResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

GsmTopUpResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "ReceivedAmount": 1.0,
    "ReceivedAmountCurrencyCode": "sample string 2",
    "ReceivedAmoutCurrencyParity": 3.0,
    "ReceivedAmoutCurrencyMarginParity": 4.0,
    "PackageName": "sample string 5",
    "KambiyoAmount": 6.0,
    "KambiyoAmountCurrencyCode": "sample string 7",
    "OperationId": "d9e0c2a2-619a-48c7-a0cd-adfaad3e3b41",
    "ReferenceNo": "sample string 9"
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}