Skip to main content

Retrieve payment details

post/payments/details

Returns the details of an open payment, which you must show to the user. Also provides a token required to confirm or cancel the payment.

Endpoint destination URL
Click to copy
methodstringRequired

The payment method for the transaction.

payloadstringRequired
Min length: 1Max length: 200

An identifier for the payment, generated by the payment method, such as iDEAL. This is obtained from the specified source.

sourcestringRequired

The source used to obtain the payload. Possible values: qr, redirect, and pushNotification.

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

  • 400 - Bad Request

    The request is malformed or is not the expected format.

  • 422 - Unprocessable Entity

    A request validation error.

  • 500 - Internal Service Error

    An unrecoverable error occurred while trying to perform the request.