Token update request received
Event notifying you to perform token update/patch operation. Patch object contains fields to update.
Type: object
Domain: cards-tokenization
Event: patch
Version: 1
|
account_id required
Title: Account ID
Description: Pismo account ID
Type: integer
Example:
24146066
card_id required
Title: Card ID
Description: Pismo card ID
Type: integer
Example:
42488842
patch required
Title: Fields to update token
Description: Token field(s) to update/patch.
Type: objectstatus
Title: New token status
Type: string
Example:
INACTIVE
FAILED
ACTIVE
SUSPENDED
DEACTIVATED
token_id required
Title: Pismo-created token ID
Type: integer
Example:
42488842
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Token update request received",
"description": "Event notifying you to perform token update/patch operation. Patch object contains fields to update.",
"properties": {
"account_id": {
"type": "integer",
"title": "Account ID",
"description": "Pismo account ID",
"examples": [
24146066
]
},
"card_id": {
"title": "Card ID",
"description": "Pismo card ID",
"type": "integer",
"examples": [
42488842
]
},
"patch": {
"type": "object",
"title": "Fields to update token",
"description": "Token field(s) to update/patch.",
"properties": {
"status": {
"type": "string",
"title": "New token status",
"examples": [
"INACTIVE",
"FAILED",
"ACTIVE",
"SUSPENDED",
"DEACTIVATED"
]
}
}
},
"token_id": {
"title": "Pismo-created token ID",
"type": "integer",
"examples": [
42488842
]
}
},
"required": [
"card_id",
"token_id",
"account_id",
"patch"
]
}
{
"account_id": 24146066,
"card_id": 42488842,
"patch": {
"status": "INACTIVE"
},
"token_id": 42488842
}
Updated 23 days ago