Update Token
Update an existing token
PATCH
https://<PayEngine-host>/api/cards/:id
Path Parameters
Name
Type
Description
id*
string
PayEngine card unique ID
Request Body
Name
Type
Description
expires_at
string
Token expiration timestamp
string
Cardholder's email
card_cvc
string
Cardholder's CVC value
phone_number.cc
string
Cardholder's phone country code (max 1-3 digits)
phone_number.subscriber
string
Cardholder's phone number (max 15 digits)
address_line1
string
Cardholder's billing address' line 1
address_line2
string
Cardholder's billing address' line 2
address_city
string
Cardholder's billing address' city
address_state
string
Cardholder's billing address' state
address_country
string
Cardholder's billing address' country
address_zip
string
Cardholder's billing address' zip
curl --location --request PATCH 'https://<PayEngine-host>/api/cards/<card_id>' \
--header 'Authorization: Basic <YOUR_API_SECRET>' \
--header 'Content-Type: application/json' \
--data-raw '{
"expires_at": "2021-11-21T19:16:41.050Z",
"email": "[email protected]",
"card_cvc": 123,
"phone_number": {
"cc": "1",
"subscriber": "4155056227"
}
}'
Last updated