Update card tokenization status
PATCH/profile/prepaid/cards/:cardId/tokenizations
Updates card tokenization status by which tokenization can be marked as COMPLETED
.
Tokenization marked as COMPLETED
means that the given card will be not able to be tokenized for the specific device and profile (in case of Google Pay).
Request
Path Parameters
UUID based Card id.
- application/json
Body
dpan (Device Pan) reference.
Wallet Id used only with Google Pay.
Possible values: [GOOGLE_PAY
, APPLE_PAY
, SAMSUNG_PAY
]
Contains supported wallet types.
Possible values: [COMPLETED
, INITIATED
]
Mobile wallet status type.
Responses
- 200
- 400
- 404
- 405
- 500
OK
- application/json
- Schema
- Example (from schema)
- COMPLETED_MOBILE_TOKENIZATION_RESPONSE
Schema
dpan (Device Pan) reference.
Wallet Id used only with Google Pay.
Possible values: [GOOGLE_PAY
, APPLE_PAY
, SAMSUNG_PAY
]
Contains supported wallet types.
Possible values: [COMPLETED
, INITIATED
]
Mobile wallet status type.
{
"dpanRef": "DAPLMC00002125433c0c34a2821f4f86866e7576963baf8b",
"walletId": "NMZlGi8-DezZZKaU06orvl0f",
"walletType": "GOOGLE_PAY",
"status": "COMPLETED"
}
{
"dpanRef": "DAPLMC00002125433c0c34a2821f4f86866e7572963baf8b",
"walletId": "NMZlGi8-DezZZKaU06orvl0f",
"walletType": "GOOGLE_PAY",
"status": "COMPLETED"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
Not Found
- application/json
- Schema
- Example (from schema)
- CARD_NOT_FOUND
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "5269",
"message": "Entity not found",
"details": [
"The ID(s) specified in the URL do not correspond to the values in the system."
],
"fieldErrors": []
}
}
Method Not Allowed
- application/json
- Schema
- Example (from schema)
- DW-OPERATION-NOT-ALLOWED
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "DW-OPERATION-NOT-ALLOWED",
"message": "Operation is not allowed in your account. Contact Paysafe for further details.",
"details": [
"Operation is not allowed in your account. Contact Paysafe for further details."
]
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}