Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

Request for xPay information

URL: https://secure1.sandbox.directpay.online/API/v6/


Variables to send:


Parameter
Data type
Description

 Request TextverifyXpayMandatory
CompanyTokenTokenToken you got from 3G to operate this APIMandatory
XpayId
NumberxPay IDMandatory

Request example:

Request example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
  <CompanyToken>A3959B7F-37DA-44F2-9925-5992D725GK8A</CompanyToken>
  <Request>verifyXpay</Request>
  <XpayId>67834</XpayId>
</API3G>


Respond:

The server will respond for the verifyXpay request according to the following results:

Parameter
Data type
Description
Result
TextResult Status
Status
TextThe status of the xPay
Sender
TextMerchant name's who sent the xPay
Receiver
TextMerchant's name who received the xPay
Currency
TextThe currency of the allocation
Amount
NumberThe amount of the allocation
DescriptionTextThe description of the xPay
ServiceTypeTextService type for current allocation

Respond example:

response example
<?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>




  • No labels