curl --request POST \
--url https://api.qbank.cl/platform/v1/banking/operations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currency": "EUR",
"source_virtual_iban_id": "2f8c1d4e-1111-4b22-8a33-000000000001",
"type": "WITHDRAW",
"paymentType": "SEPA_CT",
"sourceRequisit": {
"account": "c4d1e2f3-a4b5-c6d7-e8f9-a0b1c2d3e4f5"
},
"destinationRequisit": {
"beneficiar": "BNK-CPACC-11"
},
"beneficiary_type": "individual",
"beneficiary_given_name": "Elena",
"beneficiary_first_surname": "Fuentes",
"beneficiary_middle_name": "María",
"amount": {
"currencyCode": "EUR",
"units": "250",
"nanos": 0
},
"comment": "Invoice 8841",
"idempotency_key": "acme-payment-0071"
}
'
{
"operation_id": "7e8a9b0c-1d2e-3f4a-5b6c-7d8e9f0a1b2c",
"provider_id": "BNK-OP-90213",
"status": "pending",
"idempotency_key": "platform:9b1deb4d:acme-payment-0071",
"data": {
"type": "WITHDRAW",
"paymentType": "SEPA_CT"
},
"idempotency_hit": true
}{
"operation_id": "7e8a9b0c-1d2e-3f4a-5b6c-7d8e9f0a1b2c",
"provider_id": "BNK-OP-90213",
"status": "pending",
"idempotency_key": "platform:9b1deb4d:acme-payment-0071",
"data": {
"type": "WITHDRAW",
"paymentType": "SEPA_CT"
},
"banking_fee": "2.000000",
"banking_fee_asset": "BANK_EUR"
}{
"error": "idempotency_key_required",
"message": "provide idempotency_key (body or Idempotency-Key header)"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation",
"details": {
"asset": "USDT",
"need": "103.930000",
"available": "80.000000",
"missing": "23.930000",
"need_amount": "100.000000",
"need_fee": "3.930000",
"need_usd": "103.930000",
"available_usd": "80.000000",
"missing_usd": "23.930000",
"need_amount_usd": "100.000000",
"need_fee_usd": "3.930000"
}
}{
"error": "no_banking_customer",
"message": "create your banking customer first (POST /v1/banking/customer)"
}{
"error": "funding_account_required",
"message": "an active EUR funding account is required to send to Europe"
}{
"error": {
"code": "banking_request_failed",
"message": "request rejected"
}
}Send a bank payment
Executes a TRANSFER (between your own bank accounts) or WITHDRAW (to a registered beneficiary). Requires an idempotency key; retries with the same key return the original operation without re-charging. Billed as the fixed banking_operation fee; refunded if the corridor rejects. The final state arrives via the banking_operation_status_changed webhook. For an EUR SEPA withdrawal, the top-level beneficiary_* fields provide the structured beneficiary identity used to build the provider payee. They are optional for other banking rails; if an EU-SEPA destination has no usable payee identity, the API returns 400 invalid_payload.
POST
/
v1
/
banking
/
operations
curl --request POST \
--url https://api.qbank.cl/platform/v1/banking/operations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"currency": "EUR",
"source_virtual_iban_id": "2f8c1d4e-1111-4b22-8a33-000000000001",
"type": "WITHDRAW",
"paymentType": "SEPA_CT",
"sourceRequisit": {
"account": "c4d1e2f3-a4b5-c6d7-e8f9-a0b1c2d3e4f5"
},
"destinationRequisit": {
"beneficiar": "BNK-CPACC-11"
},
"beneficiary_type": "individual",
"beneficiary_given_name": "Elena",
"beneficiary_first_surname": "Fuentes",
"beneficiary_middle_name": "María",
"amount": {
"currencyCode": "EUR",
"units": "250",
"nanos": 0
},
"comment": "Invoice 8841",
"idempotency_key": "acme-payment-0071"
}
'
{
"operation_id": "7e8a9b0c-1d2e-3f4a-5b6c-7d8e9f0a1b2c",
"provider_id": "BNK-OP-90213",
"status": "pending",
"idempotency_key": "platform:9b1deb4d:acme-payment-0071",
"data": {
"type": "WITHDRAW",
"paymentType": "SEPA_CT"
},
"idempotency_hit": true
}{
"operation_id": "7e8a9b0c-1d2e-3f4a-5b6c-7d8e9f0a1b2c",
"provider_id": "BNK-OP-90213",
"status": "pending",
"idempotency_key": "platform:9b1deb4d:acme-payment-0071",
"data": {
"type": "WITHDRAW",
"paymentType": "SEPA_CT"
},
"banking_fee": "2.000000",
"banking_fee_asset": "BANK_EUR"
}{
"error": "idempotency_key_required",
"message": "provide idempotency_key (body or Idempotency-Key header)"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation",
"details": {
"asset": "USDT",
"need": "103.930000",
"available": "80.000000",
"missing": "23.930000",
"need_amount": "100.000000",
"need_fee": "3.930000",
"need_usd": "103.930000",
"available_usd": "80.000000",
"missing_usd": "23.930000",
"need_amount_usd": "100.000000",
"need_fee_usd": "3.930000"
}
}{
"error": "no_banking_customer",
"message": "create your banking customer first (POST /v1/banking/customer)"
}{
"error": "funding_account_required",
"message": "an active EUR funding account is required to send to Europe"
}{
"error": {
"code": "banking_request_failed",
"message": "request rejected"
}
}Authorizations
Body
application/json
Response
Idempotency replay of an existing operation (no new charge).
The response is of type object.