CheckoutPayments

Submit details for a payment

POST
/payments/details

Submits details for a payment created using /payments. This step is only needed when no final state has been reached on the /payments request, for example when the shopper was redirected to another page to complete the payment.

Authorization

AuthorizationBasic <token>

In: header

Header Parameters

Idempotency-Key?string

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request Body

application/json

authenticationData?

Data for 3DS authentication.

details*

Use this collection to submit the details that were returned as a result of the /payments call.

paymentData?string

Encoded payment data. For authorizing a payment after using 3D Secure 2 Authentication-only:

If you received resultCode: AuthenticationNotRequired in the /payments response, use the threeDSPaymentData from the same response.

If you received resultCode: AuthenticationFinished in the /payments response, use the action.paymentData from the same response.

Lengthlength <= 200000
threeDSAuthenticationOnly?boolean
Deprecated

Change the authenticationOnly indicator originally set in the /payments request. Only needs to be set if you want to modify the value set previously.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/payments/details" \  -H "Idempotency-Key: 37ca9c97-d1d1-4c62-89e8-706891a563ed" \  -H "Content-Type: application/json" \  -d '{    "details": {      "redirectResult": "X6XtfGC3!Y..."    }  }'

Example response when submitting the redirect result

{  "resultCode": "Authorised",  "pspReference": "V4HZ4RBFJGXXGN82"}