curl --request POST \
--url https://api.qbank.cl/platform/pay/{token}/methods/{method}import requests
url = "https://api.qbank.cl/platform/pay/{token}/methods/{method}"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.qbank.cl/platform/pay/{token}/methods/{method}', 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}/methods/{method}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/pay/{token}/methods/{method}"
req, _ := http.NewRequest("POST", url, nil)
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}/methods/{method}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/pay/{token}/methods/{method}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyMaterialize a checkout payment option (public)
Creates (lazily) the payment option the payer picked on a universal checkout link and returns its instructions — the payment URL for card/hosted methods, the QR for QR methods, the announce reference for bank transfers, or an exclusive crypto deposit address with the exact quoted amount plus a scannable QR (qr_payload + qr_png_base64 — always the raw address for BTC/TRON/ETH, readable by external wallets and exchanges; BIP-21/EIP-681 URIs are rejected by apps like Binance). Fiat methods require ?country=XX; the local amount is quoted and FROZEN at this moment. When the country offers the method in more than one currency (see options[] of the quote — e.g. QR in BOB and USD, or card corridors) it also requires ¤cy=YYY; each currency is an independent materialization. Bank transfers in Mexico issue a dedicated CLABE exclusive to the link (destination with dedicated: true): the payer transfers the exact amount with NO reference — the deposit routes to the link automatically. If the dedicated account cannot be issued, the payload degrades to the classic path (merchant account + mandatory reference in the transfer description). Re-POSTing the same country+currency+method returns the SAME materialization; picking a method never blocks the others while nobody has paid. No credentials; rate limited per IP. Pull collection (collect: true) is available when the selected corridor exposes it; the final collect call screens the payer before charging and may return 202 in_review. Hosted redirect methods flagged with payer_required: true in the quote need a JSON body with payer_name and payer_document; other methods ignore the body.
curl --request POST \
--url https://api.qbank.cl/platform/pay/{token}/methods/{method}import requests
url = "https://api.qbank.cl/platform/pay/{token}/methods/{method}"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.qbank.cl/platform/pay/{token}/methods/{method}', 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}/methods/{method}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/pay/{token}/methods/{method}"
req, _ := http.NewRequest("POST", url, nil)
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}/methods/{method}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/pay/{token}/methods/{method}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyPath Parameters
Opaque checkout token embedded in the checkout_url.
Method to materialize — a fiat method from the multi-country catalog (qr, card, fintoc, bank_transfer, wallet, pix; requires ?country=XX) or a crypto option (crypto:tron:usdt, crypto:eth:usdt, crypto:eth:usdc, crypto:btc:btc; no country).
Query Parameters
ISO-3166 alpha-2 country of the fiat method being materialized. Required for fiat methods, ignored for crypto.
Charge currency of the materialization, picked from the options[] (or cards[]) catalog of the quote (e.g. BOB or USD). Required when the country offers the method in more than one currency; ignored when there is a single one (it is determined by the country).
Response
Instructions for the chosen payment method.