patch
https://sandbox-api.softpoint.io/interface/locations//tokens/klaPMLSAT1Xx1111
Update Token
This API endpoint is used to update data associated with a given card token.
URL: {{gtw-dev}}/locations/{{location_id}}/token
Method: PUT
Request Headers:
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | String | Yes | Bearer {access_token} |
| Content-Type | String | Yes | application/json |
Request Parameters:
| Field | Type | Required | Description |
|---|---|---|---|
| user_id | String | Yes | User ID |
| card_data | Object | Yes | Card data |
| billing_address | Object | No | Billing Address |
card_data
| Field | Type | Required | Description |
|---|---|---|---|
| card_type | String | Yes | Visa, Mastercard, Amex |
| pan | String | Yes | Card Number |
| sad | String | Yes | CVV |
| exp_month | String | Yes | Card Expiry Month |
| exp_year | String | Yes | Card Expiry Year |
| card_holder | String | No | Card Holder Name |
billing_address
| Field | Type | Required | Description |
|---|---|---|---|
| street | String | No | Street |
| street2 | String | No | Street 2 |
| zip | String | No | Zipcode |
| state | String | No | State |
| city | String | No | City |
| country_iso | String | No | Country |
