pullAccount(V7)
Description
The pullAccount request will retrieve register customer saved tokens and mobile options
URL: https://secure1.sandbox.directpay.online/API/v7/index.php
Variables to send:
Parameter | Data type | Description | |
---|---|---|---|
Request | Text | pullAccount | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
customerToken | Token | Customer token, retrieved from 'createAccount' API | Mandatory |
Request example:
<?xml version="1.0" encoding="utf-8"?>
<API3G>
<CompanyToken>90EC1DA4-A7C5-432C-930C-098715D3130E</CompanyToken>
<Request>pullAccount</Request>
<customerToken>D570C45A-9F39-4402-8D87-4593D2C28405</customerToken>
</API3G> |
Respond:
The server will respond for the pullAccount request according to the following results:
Parameter | Data type | Description |
---|---|---|
Code | Number | Result code |
Explanation | Text | Free text of the response |
Token | Unique customer token to operate payments | |
Token | Unique payment token to operate payments | |
Text | Payment option type | |
Text | Last 4 digits of card or phone number | |
Text | Mobile Payment MNO | |
Text | Mobile Payment Country | |
Text | Mobile Payment Phone | |
Text | MNO Logo |