Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The deleteMobile request will delete mobile on existing mobile account

URL: https://secure1secure.sandbox3gdirectpay.directpay.onlinecom/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

Code Block
<?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 Block
Code

Number

Resault code

Code Block
Explanation

Text

Free text of the response

Respond example:

response example

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<API3G>
    <Code>000</Code>
	<Explanation>Mobile been deleted</Explanation>
</API3G>