POST PPOB/Payment
Request Information
URI Parameters
None.
Body Parameters
PPOBPaymentRequestName | Description | Type | Additional information |
---|---|---|---|
billingReferenceID | string |
None. |
|
userID |
user API |
string |
None. |
accessToken |
access code getting from login |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "billingReferenceID": "sample string 1", "userID": "sample string 2", "accessToken": "sample string 3" }
application/xml, text/xml
Sample:
<PPOBPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 3</accessToken> <userID>sample string 2</userID> <billingReferenceID>sample string 1</billingReferenceID> </PPOBPaymentRequest>
Response Information
Resource Description
PPOBPaymentResponseName | Description | Type | Additional information |
---|---|---|---|
additionalMessage | string |
None. |
|
productCode | string |
None. |
|
customerID | string |
None. |
|
customerName | string |
None. |
|
period | string |
None. |
|
billingReferenceID | string |
None. |
|
transactionStatus | 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:
{ "additionalMessage": "sample string 1", "productCode": "sample string 2", "customerID": "sample string 3", "customerName": "sample string 4", "period": "sample string 5", "billingReferenceID": "sample string 6", "transactionStatus": "sample string 7", "respTime": "2025-01-22T08:39:08.3718674+07:00", "userID": "sample string 9", "accessToken": "sample string 10", "status": "sample string 11", "respMessage": "sample string 12" }
application/xml, text/xml
Sample:
<PPOBPaymentResponse 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>2025-01-22T08:39:08.3718674+07:00</respTime> <status>sample string 11</status> <userID>sample string 9</userID> <additionalMessage>sample string 1</additionalMessage> <billingReferenceID>sample string 6</billingReferenceID> <customerID>sample string 3</customerID> <customerName>sample string 4</customerName> <period>sample string 5</period> <productCode>sample string 2</productCode> <transactionStatus>sample string 7</transactionStatus> </PPOBPaymentResponse>