Banca abierta

Create bank checkout session

post

Starts a new bank checkout session for the payment.

This endpoint is available only for customer-initiated payments.

Autorizaciones
OpenID ConnectRequerido

This API uses OAuth 2 with the client credentials flow. More info

Parámetros de ruta
paymentIdstring · máx: 64Requerido

Unique ID of the payment

versionstringRequerido
Parámetros de encabezado
X-Request-Idstring · uuidRequerido

ID of the request, unique to the call, as determined by the initiating party

Cuerpo
browserIpstring · máx: 45Requerido

User's browser IP address

browserUserAgentstring · mín: 1Requerido

Exact content of the HTTP user-agent header

preferredLocalestring · enumOpcional

Preferred locale for the checkout page, defaults to the locale sent in payment initiation request

Valores posibles:
Respuestas
chevron-right
200

OK

application/json
sessionIdstring · máx: 64Opcional

Unique ID of the checkout session

sessionStatusstring · enumOpcional

Status of the checkout session

Valores posibles:
post
/egw/{version}/payments/{paymentId}/sessions/bank
patch

Create consent for the payment, after completing pre-step SCA

Autorizaciones
OpenID ConnectRequerido

This API uses OAuth 2 with the client credentials flow. More info

Parámetros de ruta
paymentIdstring · máx: 64Requerido

Unique ID of the payment

sessionIdstring · máx: 64Requerido

Unique ID of the checkout session

versionstringRequerido
Parámetros de encabezado
X-Request-Idstring · uuidRequerido

ID of the request, unique to the call, as determined by the initiating party

Cuerpo
preferredLocalestring · enumOpcional

Preferred locale for the checkout page, defaults to the locale sent in payment initiation request

Valores posibles:
Respuestas
chevron-right
200

OK

application/json

Response with Strong Customer Authentication redirect URL for creating a consent for the payment

sessionIdstring · máx: 64Opcional

Unique ID of the checkout session

sessionStatusstring · enumOpcional

Status of the checkout session

Valores posibles:
patch
/egw/{version}/payments/{paymentId}/sessions/{sessionId}/bank/consent

Get bank accounts

get

Get available bank accounts for the user

Autorizaciones
OpenID ConnectRequerido

This API uses OAuth 2 with the client credentials flow. More info

Parámetros de ruta
paymentIdstring · máx: 64Requerido

Unique ID of the payment

sessionIdstring · máx: 64Requerido

Unique ID of the checkout session

versionstringRequerido
Parámetros de encabezado
X-Request-Idstring · uuidRequerido

ID of the request, unique to the call, as determined by the initiating party

Respuestas
chevron-right
200

OK

application/json

Response containing a list of available bank accounts

sessionIdstring · máx: 64Opcional

Unique ID of the checkout session

sessionStatusstring · enumOpcional

Status of the checkout session

Valores posibles:
get
/egw/{version}/payments/{paymentId}/sessions/{sessionId}/bank/accounts

Confirm payment

patch

Confirm and initiate the payment

Autorizaciones
OpenID ConnectRequerido

This API uses OAuth 2 with the client credentials flow. More info

Parámetros de ruta
paymentIdstring · máx: 64Requerido

Unique ID of the payment

sessionIdstring · máx: 64Requerido

Unique ID of the checkout session

versionstringRequerido
Parámetros de encabezado
X-Request-Idstring · uuidRequerido

ID of the request, unique to the call, as determined by the initiating party

Cuerpo
ibanstring · máx: 34Opcional

International Bank Account Number of the bank account to be used for the payment

preferredLocalestring · enumOpcional

Preferred language for the checkout page. Defaults to language sent in one-off or CIT request, if missing

Valores posibles:
Respuestas
chevron-right
200

OK

application/json

Response with Strong Customer Authentication redirect URL for confirming the payment

sessionIdstring · máx: 64Opcional

Unique ID of the checkout session

sessionStatusstring · enumOpcional

Status of the checkout session

Valores posibles:
patch
/egw/{version}/payments/{paymentId}/sessions/{sessionId}/bank/confirm

Complete payment

patch

Check the status of the payment and mark as completed

Autorizaciones
OpenID ConnectRequerido

This API uses OAuth 2 with the client credentials flow. More info

Parámetros de ruta
paymentIdstring · máx: 64Requerido

Unique ID of the payment

sessionIdstring · máx: 64Requerido

Unique ID of the checkout session

versionstringRequerido
Parámetros de encabezado
X-Request-Idstring · uuidRequerido

ID of the request, unique to the call, as determined by the initiating party

Respuestas
chevron-right
200

OK

application/json

Response containing the status of the payment

completionStatusstring · enumOpcional

Status of the payment

Valores posibles:
sessionIdstring · máx: 64Opcional

Unique ID of the checkout session

sessionStatusstring · enumOpcional

Status of the checkout session

Valores posibles:
patch
/egw/{version}/payments/{paymentId}/sessions/{sessionId}/bank/complete

¿Te fue útil?