v1

latestOpenAPI 3.0.02026-07-242035712.0 MB
Account

Set Default Card Account

This API is used for tokens (cards) that are associated with multiple accounts. By changing the default account from old to new, the Account ID passed in the FAST feed will be updated for all authorizations going forward. To associate a token with the new account, it is necessary to link the card and account using this API.

post/pws/pws_set_default_card_account/

Request body

account_newinteger required

account number new. This will alter old account for card with new account.

account_oldinteger required

account number old.

api_call_unique_identifierstring required

Unique number that must be passed at each API request. Identifier to make each API request unique

client_idinteger required

Unique identifier for the client which Paymentology will provide at outset

tokeninteger required

Public token for the card.

user_idstring

User Id of the Customer who triggered the API request.

remarksstring

Remarks for API request

Example request

{
  "account_new": 479823917,
  "account_old": 912039665,
  "api_call_unique_identifier": "438574845790657485",
  "client_id": 760131,
  "token": 311012081
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": {
    "message": "Set default account success"
  }
}