Description
The emailToToken request will be used send/resend email request to the customer.
URL: https://secure.sandbox.directpay.online/API/v6/
Response
The method will return the operation result.
Variables to send:
Parameter | Data type | Description | |
Request | Text | emailToToken | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
TransactionToken | Token | Transaction token as accepted from the createToken. | Mandatory |
Request example:
request example
<?xml version="1.0" encoding="utf-8"?> <API3G> <CompanyToken>68B90B5E-25F6-4146-8AB1-C7A3A0C41A7F</CompanyToken> <Request>chargeTokenBankTransfer</Request> <TransactionToken>EC9E975A-A7A2-4031-8972-BF123CDD9EDD</TransactionToken> </API3G>
Respond:
The server will respond for the emailToToken request according to the following results:
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 |
Respond codes:
Code | Explanation |
000 | Success |
999 | Custom error message |
804 | Error in XML |
950 | Request missing transaction level mandatory fields |
Respond example:
response example
<?xml version="1.0" encoding="utf-8"?> <API3G> <Result>000</Result> <ResultExplanation>Success</ResultExplanation> </API3G>