Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The SuperWalletSetDefaultCard request will set the sent card token as default card for the customer

URL: https://secure1.sandbox.directpay.online/API/v6/

Variables to send:

Parameter
Data type
Description

 Request Text SuperWalletGetTransactionsMandatory
CompanyTokenTokenToken you got from 3G to operate this APIMandatory
customerUnqTokenToken of the customerMandatory
customerTokenTokenToken for customer's credit card.Mandatory
customerCreditCardTokenTokenToken of the credit card to be set as defaultMandatory

Request example

Request example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
    <CompanyToken>68B90B5E-25F6-4146-8AB1-C7A3A0C41A7F</CompanyToken>
    <Request>SuperWalletSetDefaultCard</Request>
    <customerToken>C34F09A5-A6BA-46BD-9245-38AC7E32CC20</customerToken>
    <customerCreditCardToken>CA5377AF-AF78-4954-9780-14339911A59F</customerCreditCardToken>
</API3G>

Response:

The server will respond for the SuperWalletSetDefaultCard request according to the following results:

Parameter
Data type
Description
ResultNumberResult Code
ResultExplanationTextFree text of the response

Values:

Result
Result Explanation
000Card set as default card
902Data mismatch in one of the fields
999Card does not exist / Customer does not exist

Response example

<?xml version="1.0" encoding="utf-8"?>
<API3G>
    <Result>000</Result>
    <ResultExplanation>Card set as default card</ResultExplanation>
</API3G>

  • No labels