POST/simulations/digital_wallet_token_requests

Sandbox: Create a digital wallet token request

Simulates a user attempting to add a Card to a digital wallet such as Apple Pay.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field
card_idstringrequired
The identifier of the Card to be authorized.

3 status codes
200Inbound Digital Wallet Token Request Simulation Result
decline_reasonstringrequired
If the simulated tokenization attempt was declined, this field contains details as to why.
Allowed:card_not_activeno_verification_methodwebhook_timed_outwebhook_declinedincorrect_card_verification_codedeclined_by_token_requestor
digital_wallet_token_idstringrequired
If the simulated tokenization attempt was accepted, this field contains the id of the Digital Wallet Token that was created.
typestringrequired
A constant representing the object's type. For this resource it will always be `inbound_digital_wallet_token_request_simulation_result`.
Allowed:inbound_digital_wallet_token_request_simulation_result
4XXError
5XXError