POST/simulations/card_authentications/{card_payment_id}/challenge_attempts

Create a card authentication challenge attempt in the sandbox

Simulates an attempt to complete a Card Authentication Challenge for a Card Payment. Supply the one-time code to update the payment's card_authentications object. You can also attempt the challenge through the dashboard simulation page for the specified payment.

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

1 parameter · 1 body field
card_payment_idstringrequired
The identifier of the Card Payment to challenge.

The one-time code to validate for the Card Authentication Challenge.

one_time_codestringrequired
The one-time code to be validated.

3 status codes
200Returns the updated Card Payment object, including its interactions and summarized state.
account_idstringrequired
The identifier for the Account the Transaction belongs to.
card_idstringrequired
The Card identifier for this payment.
created_atstringrequired
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Card Payment was created.
digital_wallet_token_idstringrequired
The Digital Wallet Token identifier for this payment.
elementsarray<CardPaymentCardPaymentElement>required
The interactions related to this card payment.
idstringrequired
The Card Payment identifier.
physical_card_idstringrequired
The Physical Card identifier for this payment.
stateobjectrequired
The summarized state of this card payment.
typestringrequired
A constant representing the object's type. For this resource it will always be `card_payment`.
Allowed:card_payment
4XXReturned when the request cannot be processed because of a client-side error.
5XXReturned when the service encounters a server-side error.

Error handling

The one_time_code field is required and must contain 1 to 200 characters. The card_payment_id path parameter must identify the Card Payment whose challenge you want to attempt.