POST TopUp/Order

Request Information

URI Parameters

None.

Body Parameters

TopUpOrderRequest
NameDescriptionTypeAdditional information
MSISDN

string

None.

productCode

string

None.

sequence

integer

None.

customerID

string

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MSISDN": "sample string 1",
  "productCode": "sample string 2",
  "sequence": 3,
  "customerID": "sample string 4",
  "userID": "sample string 5",
  "accessToken": "sample string 6"
}

application/xml, text/xml

Sample:
<TopUpOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 6</accessToken>
  <userID>sample string 5</userID>
  <MSISDN>sample string 1</MSISDN>
  <customerID>sample string 4</customerID>
  <productCode>sample string 2</productCode>
  <sequence>3</sequence>
</TopUpOrderRequest>

Response Information

Resource Description

TopUpOrderResponse
NameDescriptionTypeAdditional information
transactionDate

string

None.

transactionStatus

string

None.

transactionID

string

None.

addtionalMessage

string

None.

referenceID

string

None.

productCode

string

None.

MSISDN

string

None.

respTime

describe time in sending response

date

None.

userID

user ID to access API

string

None.

accessToken

access token that needed to access API

string

None.

status

SUCCESS or FAILED

string

None.

respMessage

detail message of response status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "transactionDate": "sample string 1",
  "transactionStatus": "sample string 2",
  "transactionID": "sample string 3",
  "addtionalMessage": "sample string 4",
  "referenceID": "sample string 5",
  "productCode": "sample string 6",
  "MSISDN": "sample string 7",
  "respTime": "2021-11-27T06:51:58.1855261+07:00",
  "userID": "sample string 9",
  "accessToken": "sample string 10",
  "status": "sample string 11",
  "respMessage": "sample string 12"
}

application/xml, text/xml

Sample:
<TopUpOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 10</accessToken>
  <respMessage>sample string 12</respMessage>
  <respTime>2021-11-27T06:51:58.1855261+07:00</respTime>
  <status>sample string 11</status>
  <userID>sample string 9</userID>
  <MSISDN>sample string 7</MSISDN>
  <addtionalMessage>sample string 4</addtionalMessage>
  <productCode>sample string 6</productCode>
  <referenceID>sample string 5</referenceID>
  <transactionDate>sample string 1</transactionDate>
  <transactionID>sample string 3</transactionID>
  <transactionStatus>sample string 2</transactionStatus>
</TopUpOrderResponse>