POST PPOB/TransactionDetail

Request Information

URI Parameters

None.

Body Parameters

PPOBTransactionDetailRequest
NameDescriptionTypeAdditional information
customerID

string

None.

billingReferenceID

string

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customerID": "sample string 1",
  "billingReferenceID": "sample string 2",
  "userID": "sample string 3",
  "accessToken": "sample string 4"
}

application/xml, text/xml

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

Response Information

Resource Description

PPOBTransactionDetailResponse
NameDescriptionTypeAdditional information
detail

PPOBTransactionDetailModel

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:
{
  "detail": {
    "transactionDate": "2021-11-27T07:33:06.4028121+07:00",
    "productCode": "sample string 2",
    "productDescription": "sample string 3",
    "customerID": "sample string 4",
    "customerName": "sample string 5",
    "period": "sample string 6",
    "sellPrice": 7.0,
    "totalPayment": 8.0,
    "transactionStatus": "sample string 9",
    "billingReferenceID": "sample string 10",
    "cashBackProfit": 11.0
  },
  "respTime": "2021-11-27T07:33:06.4028121+07:00",
  "userID": "sample string 2",
  "accessToken": "sample string 3",
  "status": "sample string 4",
  "respMessage": "sample string 5"
}

application/xml, text/xml

Sample:
<PPOBTransactionDetailResponse 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>
  <respMessage>sample string 5</respMessage>
  <respTime>2021-11-27T07:33:06.4028121+07:00</respTime>
  <status>sample string 4</status>
  <userID>sample string 2</userID>
  <detail>
    <billingReferenceID>sample string 10</billingReferenceID>
    <cashBackProfit>11</cashBackProfit>
    <customerID>sample string 4</customerID>
    <customerName>sample string 5</customerName>
    <period>sample string 6</period>
    <productCode>sample string 2</productCode>
    <productDescription>sample string 3</productDescription>
    <sellPrice>7</sellPrice>
    <totalPayment>8</totalPayment>
    <transactionDate>2021-11-27T07:33:06.4028121+07:00</transactionDate>
    <transactionStatus>sample string 9</transactionStatus>
  </detail>
</PPOBTransactionDetailResponse>