curl --request PATCH \
--url https://api.treasuryprime.com/digital_wallet_token/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"status": "suspended"
}'
{
"card_id": "card_11h5w1kwp9sabc",
"created_at": "2023-08-03T15:33:19Z",
"device": {
"device_id": "01230BDB794680012340018761933446E55590AA589D5E19",
"ip_address": "71.00.00.01",
"location": "40.00/-73.00",
"name": "iPhone",
"phone_number": "1234",
"type": "mobile_phone"
},
"fulfillment": {
"status": "provisioned"
},
"id": "dwt_11jcqme11p6yabc",
"status": "suspended",
"token_service_provider": {
"network": "mastercard",
"pan_reference_id": "FAPLMC00002647919b243196787642308f0e123f4e6a9ac2",
"token_pan_last4": "9123",
"token_reference_id": "DAPLMC0000264791b80d3526c86242dd854bf8345a4e3a12",
"token_requestor_id": "50110030273",
"token_requestor_name": "apple_pay"
},
"updated_at": "2023-08-03T15:33:20Z"
}
curl --request PATCH \
--url https://api.treasuryprime.com/digital_wallet_token/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"status": "suspended"
}'
{
"card_id": "card_11h5w1kwp9sabc",
"created_at": "2023-08-03T15:33:19Z",
"device": {
"device_id": "01230BDB794680012340018761933446E55590AA589D5E19",
"ip_address": "71.00.00.01",
"location": "40.00/-73.00",
"name": "iPhone",
"phone_number": "1234",
"type": "mobile_phone"
},
"fulfillment": {
"status": "provisioned"
},
"id": "dwt_11jcqme11p6yabc",
"status": "suspended",
"token_service_provider": {
"network": "mastercard",
"pan_reference_id": "FAPLMC00002647919b243196787642308f0e123f4e6a9ac2",
"token_pan_last4": "9123",
"token_reference_id": "DAPLMC0000264791b80d3526c86242dd854bf8345a4e3a12",
"token_requestor_id": "50110030273",
"token_requestor_name": "apple_pay"
},
"updated_at": "2023-08-03T15:33:20Z"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Unique identifier for object
The digital_wallet_token to update
The body is of type object
.
The digital_wallet_token updated
The response is of type object
.
Was this page helpful?