Update Token

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:

HeaderTypeRequiredDescription
AuthorizationStringYesBearer {access_token}
Content-TypeStringYesapplication/json

Request Parameters:

FieldTypeRequiredDescription
user_idStringYesUser ID
card_dataObjectYesCard data
billing_addressObjectNoBilling Address

card_data

FieldTypeRequiredDescription
card_typeStringYesVisa, Mastercard, Amex
panStringYesCard Number
sadStringYesCVV
exp_monthStringYesCard Expiry Month
exp_yearStringYesCard Expiry Year
card_holderStringNoCard Holder Name

billing_address

FieldTypeRequiredDescription
streetStringNoStreet
street2StringNoStreet 2
zipStringNoZipcode
stateStringNoState
cityStringNoCity
country_isoStringNoCountry
Language
URL
Click Try It! to start a request and see the response here!