Description
...
Parameter | Data type | Description | |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
Request | Text | createToken | Mandatory |
...
Parameter | Data type | Description |
Result | 3 digits code | A code will be sent with the result of the request |
ResultExplanation | Text | Free text of the result |
TransToken | Text | Token of the transaction (if created) |
TransRef | Text | Ref of the transaction (if created) |
notes | Text | Contain the request notes, if there are any. |
Allocations | Wrapper | |
Allocation | Wrapper | |
AllocationID | Number | xPay ID in case there is an allocation in the trasaction |
AllocationCode | Text | Receiver's Merchants code |
NOTE; Payment page URL is: https://secure1.sandbox.directpay.online/payv2.php?ID={{TransToken}}
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="utf-8"?>
<API3G>
<Result>000</Result>
<ResultExplanation>Transaction created</ResultExplanation>
<TransToken>72983CAC-5DB1-4C7F-BD88-352066B71592</TransToken>
<TransRef>1285DB12G</TransRef>
<Allocations>
<Allocation>
<AllocationID>00000</AllocationID>
<AllocationCode>3GG</AllocationCode>
</Allocation>
</Allocations>
</API3G> |
Error result example:
...