Skip to main content

Debit payment request (Hosted Payment Fields)

POST 

/api/v1/processing/debit/card

Processes a debit payment after the payer has entered their card details into the hosted fields and hostedFields.collectIframesData() has been called.

Use this endpoint only when the session was created with operation: "debit". The payment endpoint must match the operation of the session: a purchase session is submitted to /api/v1/processing/purchase/card instead.

The card data itself is not sent in this request: it is already stored on the platform against the session. Authenticate the request with the session token in the Token header. No additional card fields are required, the existing with_hosted_fields flag is reused.

The callback to the merchant has the same structure as for the regular Checkout integration.

Request

Responses

Payment processed. Check result for the outcome.