...
...
...
...
Description
Request for xPay information
URL: https://secure1.sandbox.directpay.online/API/v6/
Variables to send:
Parameter | Data type | Description | |
---|---|---|---|
Request | Text | verifyXpay | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
XpayId | Number | xPay ID | Mandatory |
Request example:
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="utf-8"?> <API3G> <CompanyToken>XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</CompanyToken> <Request>verifyXpay</Request> <XpayId>00000</XpayId> </API3G> |
Respond:
The server will respond for the verifyXpay request according to the following results:
Parameter | Data type | Description |
---|---|---|
Result | Text | Result Status |
Status | Text | The status of the xPay |
Sender | Text | Merchant name's who sent the xPay |
Receiver | Text | Merchant's name who received the xPay |
Currency | Text | The currency of the allocation |
Amount | Number | The amount of the allocation |
Description | Text | The description of the xPay |
ServiceType | Text | Service type for current allocation |
Respond example:
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="utf-8"?>
<API3G>
<Result>Success</Result>
<Status>Pending</Status>
<Sender>Air Excel</Sender>
<Receiver>Direct Pay Limited</Receiver>
<Currency>USD</Currency>
<Amount>0.40</Amount>
<Description>Payment for flight</Description>
<ServiceType>Safari Holiday</ServiceType>
</API3G> |