Update Payment Token Details
PATCH/paymentTokens/{paymentTokenId}
For cards, allows updating card holder name and expiration of the token. Can link to a buyer as well.
Request
Path Parameters
Represents a customer bank account in the Nuvei system.
- application/json
Body
required
Processing entityId
provided by Nuvei.
paymentOption
object
card
object
Possible values: <= 70 characters
The card holder name.
Possible values: >= 2 characters
and <= 2 characters
, Value must match regular expression ^(0[1-9]|1[0-2])$
The card expiration month.
Possible values: >= 2 characters
and <= 4 characters
, Value must match regular expression ^(\d{4}|\d{2})$
The card expiration year.
alternativePaymentMethod
object
data
object
Possible values: <= 255 characters
Possible values: <= 50 characters
Merchant Reference for a business entity (token, subscription, etc.)
Possible values: [recurring
, unscheduled
]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
result
object
required
Possible values: [success
, error
]
errors
object
Possible values: <= 11 characters
Possible values: <= 400 characters
{
"result": {
"status": "success",
"errors": {
"code": "7000.1000",
"reason": "Unexpected error"
}
}
}