curl --request POST \
--url https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bank_reference": "ECM1234567890123",
"received_amount": "1250.00"
}
'import requests
url = "https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received"
payload = {
"bank_reference": "ECM1234567890123",
"received_amount": "1250.00"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({bank_reference: 'ECM1234567890123', received_amount: '1250.00'})
};
fetch('https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bank_reference' => 'ECM1234567890123',
'received_amount' => '1250.00'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received"
payload := strings.NewReader("{\n \"bank_reference\": \"ECM1234567890123\",\n \"received_amount\": \"1250.00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bank_reference\": \"ECM1234567890123\",\n \"received_amount\": \"1250.00\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bank_reference\": \"ECM1234567890123\",\n \"received_amount\": \"1250.00\"\n}"
response = http.request(request)
puts response.read_body{
"payin_id": "11111111-2222-4333-8444-555555555555",
"status": "pending",
"confirm_request": {
"id": "22222222-3333-4444-9555-666666666666",
"status": "pending",
"bank_reference": "ECM1234567890123",
"received_amount": "1250.00",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"maker": "admin:5f6a7b8c-9d0e-1f2a-3b4c-5d6e7f8a9b0c",
"created_at": "2026-10-10T14:00:00Z"
}
}{
"error": "invalid_payload",
"message": "bank_reference is required"
}Request confirmation of an announced bank deposit (maker)
Maker step of the two-person confirmation for an announced EC/USD push bank_transfer manual payin. It only accepts EC/USD/bank_transfer announced payins. The caller is the maker: an org admin with ops:write in a human session (API keys are rejected). The payin stays pending and nothing is credited; a named god approves or cancels the request with the sibling endpoints.
curl --request POST \
--url https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bank_reference": "ECM1234567890123",
"received_amount": "1250.00"
}
'import requests
url = "https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received"
payload = {
"bank_reference": "ECM1234567890123",
"received_amount": "1250.00"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({bank_reference: 'ECM1234567890123', received_amount: '1250.00'})
};
fetch('https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bank_reference' => 'ECM1234567890123',
'received_amount' => '1250.00'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received"
payload := strings.NewReader("{\n \"bank_reference\": \"ECM1234567890123\",\n \"received_amount\": \"1250.00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bank_reference\": \"ECM1234567890123\",\n \"received_amount\": \"1250.00\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/payins/{payinID}/confirm-received")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bank_reference\": \"ECM1234567890123\",\n \"received_amount\": \"1250.00\"\n}"
response = http.request(request)
puts response.read_body{
"payin_id": "11111111-2222-4333-8444-555555555555",
"status": "pending",
"confirm_request": {
"id": "22222222-3333-4444-9555-666666666666",
"status": "pending",
"bank_reference": "ECM1234567890123",
"received_amount": "1250.00",
"account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"maker": "admin:5f6a7b8c-9d0e-1f2a-3b4c-5d6e7f8a9b0c",
"created_at": "2026-10-10T14:00:00Z"
}
}{
"error": "invalid_payload",
"message": "bank_reference is required"
}Authorizations
Session JWT (from register/login) or API key (pk_...).
X-API-Key: <token> is accepted as an alternative header.
Path Parameters
Body
The bank reference of the received deposit, exactly as it appears in the bank record. Leading/trailing spaces are trimmed; it cannot be empty and is limited to 200 bytes.
1 - 200"ECM1234567890123"
The received amount as a decimal string. It must equal the announced amount by value.
"1250.00"
Response
Confirm request recorded; the payin stays pending until a checker approves it.