...
...
...
...
Description
Request for xPay information
URL: https://secure1secure.sandbox3gdirectpay.directpay.onlinecom/API/v6/
Variables to send:
Parameter | Data type | Description | Remark | |
---|---|---|---|---|
Request | Text | verifyXpay | Mandatory | |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory | |
XpayId | Number | xPay ID | Mandatory | Allocation ID- in create token response |
Request example:
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="utf-8"?> <API3G> <CompanyToken>XXXXXXX<CompanyToken>A3959B7F-XXXX37DA-XXXX44F2-XXXX9925-XXXXXXXXXXXX<5992D725GK8A</CompanyToken> <Request>verifyXpay</Request> <XpayId>00000<<XpayId>67834</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> |