Crear comprobante de ajuste
curl --request POST \
--url https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"voucherTypeCode": "PROMO_REINTEGRO",
"amount": 150.5,
"idExterno": "promo-2026-08-0042",
"description": "Promo verano CVU"
}
'import requests
url = "https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes"
payload = {
"voucherTypeCode": "PROMO_REINTEGRO",
"amount": 150.5,
"idExterno": "promo-2026-08-0042",
"description": "Promo verano CVU"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
voucherTypeCode: 'PROMO_REINTEGRO',
amount: 150.5,
idExterno: 'promo-2026-08-0042',
description: 'Promo verano CVU'
})
};
fetch('https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes', 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.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes",
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([
'voucherTypeCode' => 'PROMO_REINTEGRO',
'amount' => 150.5,
'idExterno' => 'promo-2026-08-0042',
'description' => 'Promo verano CVU'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes"
payload := strings.NewReader("{\n \"voucherTypeCode\": \"PROMO_REINTEGRO\",\n \"amount\": 150.5,\n \"idExterno\": \"promo-2026-08-0042\",\n \"description\": \"Promo verano CVU\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"voucherTypeCode\": \"PROMO_REINTEGRO\",\n \"amount\": 150.5,\n \"idExterno\": \"promo-2026-08-0042\",\n \"description\": \"Promo verano CVU\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"voucherTypeCode\": \"PROMO_REINTEGRO\",\n \"amount\": 150.5,\n \"idExterno\": \"promo-2026-08-0042\",\n \"description\": \"Promo verano CVU\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"cvu": "<string>",
"amount": "<string>",
"availableAfter": "<string>",
"heldAfter": "<string>",
"totalAfter": "<string>",
"voucherTypeCode": "<string>",
"voucherTypeName": "<string>",
"idExterno": "<string>",
"referenceType": "<string>",
"referenceId": "<string>",
"ledgerType": "<string>",
"description": {},
"createdAt": "<string>"
}{
"statusCode": 400,
"message": "Idempotency-Key header is required",
"timestamp": "2026-07-30T12:00:00.000Z",
"bankStatus": 400,
"bankBody": {}
}ledger-comprobantes
Crear comprobante de ajuste
Solo tipos custom del tenant. Idempotente por idExterno + sentido (credit/debit).
POST
/
v1
/
accounts
/
{cvu}
/
comprobantes
Crear comprobante de ajuste
curl --request POST \
--url https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"voucherTypeCode": "PROMO_REINTEGRO",
"amount": 150.5,
"idExterno": "promo-2026-08-0042",
"description": "Promo verano CVU"
}
'import requests
url = "https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes"
payload = {
"voucherTypeCode": "PROMO_REINTEGRO",
"amount": 150.5,
"idExterno": "promo-2026-08-0042",
"description": "Promo verano CVU"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
voucherTypeCode: 'PROMO_REINTEGRO',
amount: 150.5,
idExterno: 'promo-2026-08-0042',
description: 'Promo verano CVU'
})
};
fetch('https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes', 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.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes",
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([
'voucherTypeCode' => 'PROMO_REINTEGRO',
'amount' => 150.5,
'idExterno' => 'promo-2026-08-0042',
'description' => 'Promo verano CVU'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes"
payload := strings.NewReader("{\n \"voucherTypeCode\": \"PROMO_REINTEGRO\",\n \"amount\": 150.5,\n \"idExterno\": \"promo-2026-08-0042\",\n \"description\": \"Promo verano CVU\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"voucherTypeCode\": \"PROMO_REINTEGRO\",\n \"amount\": 150.5,\n \"idExterno\": \"promo-2026-08-0042\",\n \"description\": \"Promo verano CVU\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.gallo-pay.com/v1/accounts/{cvu}/comprobantes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"voucherTypeCode\": \"PROMO_REINTEGRO\",\n \"amount\": 150.5,\n \"idExterno\": \"promo-2026-08-0042\",\n \"description\": \"Promo verano CVU\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"cvu": "<string>",
"amount": "<string>",
"availableAfter": "<string>",
"heldAfter": "<string>",
"totalAfter": "<string>",
"voucherTypeCode": "<string>",
"voucherTypeName": "<string>",
"idExterno": "<string>",
"referenceType": "<string>",
"referenceId": "<string>",
"ledgerType": "<string>",
"description": {},
"createdAt": "<string>"
}{
"statusCode": 400,
"message": "Idempotency-Key header is required",
"timestamp": "2026-07-30T12:00:00.000Z",
"bankStatus": 400,
"bankBody": {}
}Authorizations
Tu API key de PSP (gpk_live_... o gpk_test_...). Authorize arriba y usá Try it out.
Path Parameters
Body
application/json
Código de tipo de comprobante custom del tenant (no tipos de sistema).
Example:
"PROMO_REINTEGRO"
Importe positivo en ARS
Example:
150.5
Id externo del PSP (idempotencia de este ajuste).
Example:
"promo-2026-08-0042"
Example:
"Promo verano CVU"
Response
Available options:
credit, debit, hold, release, confirm_hold ⌘I