The deleteMobile request will delete mobile on existing mobile account
URL: https://secure1.sandbox.directpay.online/API/v7/index.php
Variables to send:
Parameter | Data type | Description | |
---|---|---|---|
Request | Text | deleteMobile | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
customerToken | Token | Customer token, retrieved from 'createAccount' API | Mandatory |
subscriptionToken | Token | Existing Subscription Token | Mandatory |
Request example:
Request example
<?xml version="1.0" encoding="utf-8"?> <API3G> <CompanyToken>90EC1DA4-A7C5-432C-930C-098715D3130E</CompanyToken> <Request>deleteMobile</Request> <customerToken>5B8443FA-8559-4DBD-AF61-7AFF87C35661</customerToken> <subscriptionToken>C3BC7D06-A4A1-4CEA-A56A-225C473C78D0</subscriptionToken> </API3G> |
Respond:
The server will respond for the deleteCard request according to the following results:
Parameter | Data type | Description |
---|---|---|
Code | Number | Resault code |
Explanation | Text | Free text of the response |
Respond example:
response example
<?xml version="1.0" encoding="UTF-8"?> <API3G> <Code>000</Code> <Explanation>Mobile been deleted</Explanation> </API3G> |