curl --request POST \
--url https://api.qbank.cl/platform/pay/{token}/collect \
--header 'Content-Type: application/json' \
--data '
{
"country": "VE",
"currency": "VES",
"method": "c2p",
"payer_document": "V12345678",
"payer_phone": "04141234567",
"payer_bank": "0102",
"otp": "123456"
}
'import requests
url = "https://api.qbank.cl/platform/pay/{token}/collect"
payload = {
"country": "VE",
"currency": "VES",
"method": "c2p",
"payer_document": "V12345678",
"payer_phone": "04141234567",
"payer_bank": "0102",
"otp": "123456"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
country: 'VE',
currency: 'VES',
method: 'c2p',
payer_document: 'V12345678',
payer_phone: '04141234567',
payer_bank: '0102',
otp: '123456'
})
};
fetch('https://api.qbank.cl/platform/pay/{token}/collect', 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/pay/{token}/collect",
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([
'country' => 'VE',
'currency' => 'VES',
'method' => 'c2p',
'payer_document' => 'V12345678',
'payer_phone' => '04141234567',
'payer_bank' => '0102',
'otp' => '123456'
]),
CURLOPT_HTTPHEADER => [
"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/pay/{token}/collect"
payload := strings.NewReader("{\n \"country\": \"VE\",\n \"currency\": \"VES\",\n \"method\": \"c2p\",\n \"payer_document\": \"V12345678\",\n \"payer_phone\": \"04141234567\",\n \"payer_bank\": \"0102\",\n \"otp\": \"123456\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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/pay/{token}/collect")
.header("Content-Type", "application/json")
.body("{\n \"country\": \"VE\",\n \"currency\": \"VES\",\n \"method\": \"c2p\",\n \"payer_document\": \"V12345678\",\n \"payer_phone\": \"04141234567\",\n \"payer_bank\": \"0102\",\n \"otp\": \"123456\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/pay/{token}/collect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"country\": \"VE\",\n \"currency\": \"VES\",\n \"method\": \"c2p\",\n \"payer_document\": \"V12345678\",\n \"payer_phone\": \"04141234567\",\n \"payer_bank\": \"0102\",\n \"otp\": \"123456\"\n}"
response = http.request(request)
puts response.read_bodyExecute a pull collection with the payer's data (public)
Runs the pull charge of a materialized collect option with the data the payer typed on the checkout page — bank, document, phone or account, and the OTP (generated in the payer’s banking app, or requested via POST /pay/{token}/collect/otp, sending back its otp_reference). The amount is ALWAYS the one frozen at materialization — the payer never sends it. The platform screens the payer before calling the core/provider. A PEP or firewall hold returns 202 in_review without charging the payer; approval only releases the review and the client must retry the same request with the same idempotency context. A timeout or 5xx leaves the payin pending for webhook reconciliation and is never resent automatically. A document-only payer is screened as document_value/idNumber, separately from name. A rejection does NOT kill the link — the payer can fix the data or pick another method. Strictly rate limited per IP.
curl --request POST \
--url https://api.qbank.cl/platform/pay/{token}/collect \
--header 'Content-Type: application/json' \
--data '
{
"country": "VE",
"currency": "VES",
"method": "c2p",
"payer_document": "V12345678",
"payer_phone": "04141234567",
"payer_bank": "0102",
"otp": "123456"
}
'import requests
url = "https://api.qbank.cl/platform/pay/{token}/collect"
payload = {
"country": "VE",
"currency": "VES",
"method": "c2p",
"payer_document": "V12345678",
"payer_phone": "04141234567",
"payer_bank": "0102",
"otp": "123456"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
country: 'VE',
currency: 'VES',
method: 'c2p',
payer_document: 'V12345678',
payer_phone: '04141234567',
payer_bank: '0102',
otp: '123456'
})
};
fetch('https://api.qbank.cl/platform/pay/{token}/collect', 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/pay/{token}/collect",
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([
'country' => 'VE',
'currency' => 'VES',
'method' => 'c2p',
'payer_document' => 'V12345678',
'payer_phone' => '04141234567',
'payer_bank' => '0102',
'otp' => '123456'
]),
CURLOPT_HTTPHEADER => [
"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/pay/{token}/collect"
payload := strings.NewReader("{\n \"country\": \"VE\",\n \"currency\": \"VES\",\n \"method\": \"c2p\",\n \"payer_document\": \"V12345678\",\n \"payer_phone\": \"04141234567\",\n \"payer_bank\": \"0102\",\n \"otp\": \"123456\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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/pay/{token}/collect")
.header("Content-Type", "application/json")
.body("{\n \"country\": \"VE\",\n \"currency\": \"VES\",\n \"method\": \"c2p\",\n \"payer_document\": \"V12345678\",\n \"payer_phone\": \"04141234567\",\n \"payer_bank\": \"0102\",\n \"otp\": \"123456\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/pay/{token}/collect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"country\": \"VE\",\n \"currency\": \"VES\",\n \"method\": \"c2p\",\n \"payer_document\": \"V12345678\",\n \"payer_phone\": \"04141234567\",\n \"payer_bank\": \"0102\",\n \"otp\": \"123456\"\n}"
response = http.request(request)
puts response.read_bodyPath Parameters
Opaque checkout token embedded in the checkout_url.
Response
Result of the collection attempt.