Crear comprobante de ajuste sobre idCuenta wallet
curl --request POST \
--url https://api.dev.gallo-pay.com/wallet/v1/Comprobante \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"idCuenta": 274931,
"importe": 100,
"idTipoComprobante": 123,
"codigo": "PROMO_REINTEGRO",
"referencia": "Recarga",
"idExterno": "promo-42",
"fechaExterna": "2026-08-05"
}
'import requests
url = "https://api.dev.gallo-pay.com/wallet/v1/Comprobante"
payload = {
"idCuenta": 274931,
"importe": 100,
"idTipoComprobante": 123,
"codigo": "PROMO_REINTEGRO",
"referencia": "Recarga",
"idExterno": "promo-42",
"fechaExterna": "2026-08-05"
}
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({
idCuenta: 274931,
importe: 100,
idTipoComprobante: 123,
codigo: 'PROMO_REINTEGRO',
referencia: 'Recarga',
idExterno: 'promo-42',
fechaExterna: '2026-08-05'
})
};
fetch('https://api.dev.gallo-pay.com/wallet/v1/Comprobante', 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/wallet/v1/Comprobante",
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([
'idCuenta' => 274931,
'importe' => 100,
'idTipoComprobante' => 123,
'codigo' => 'PROMO_REINTEGRO',
'referencia' => 'Recarga',
'idExterno' => 'promo-42',
'fechaExterna' => '2026-08-05'
]),
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/wallet/v1/Comprobante"
payload := strings.NewReader("{\n \"idCuenta\": 274931,\n \"importe\": 100,\n \"idTipoComprobante\": 123,\n \"codigo\": \"PROMO_REINTEGRO\",\n \"referencia\": \"Recarga\",\n \"idExterno\": \"promo-42\",\n \"fechaExterna\": \"2026-08-05\"\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/wallet/v1/Comprobante")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"idCuenta\": 274931,\n \"importe\": 100,\n \"idTipoComprobante\": 123,\n \"codigo\": \"PROMO_REINTEGRO\",\n \"referencia\": \"Recarga\",\n \"idExterno\": \"promo-42\",\n \"fechaExterna\": \"2026-08-05\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.gallo-pay.com/wallet/v1/Comprobante")
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 \"idCuenta\": 274931,\n \"importe\": 100,\n \"idTipoComprobante\": 123,\n \"codigo\": \"PROMO_REINTEGRO\",\n \"referencia\": \"Recarga\",\n \"idExterno\": \"promo-42\",\n \"fechaExterna\": \"2026-08-05\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"saldo": 123,
"availableBalance": "<string>",
"heldBalance": "<string>",
"totalBalance": "<string>"
}{
"statusCode": 400,
"message": "Idempotency-Key header is required",
"timestamp": "2026-07-30T12:00:00.000Z",
"bankStatus": 400,
"bankBody": {}
}{
"statusCode": 400,
"message": "Idempotency-Key header is required",
"timestamp": "2026-07-30T12:00:00.000Z",
"bankStatus": 400,
"bankBody": {}
}wallet-saldo
Crear comprobante de ajuste sobre idCuenta wallet
POST
/
wallet
/
v1
/
Comprobante
Crear comprobante de ajuste sobre idCuenta wallet
curl --request POST \
--url https://api.dev.gallo-pay.com/wallet/v1/Comprobante \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"idCuenta": 274931,
"importe": 100,
"idTipoComprobante": 123,
"codigo": "PROMO_REINTEGRO",
"referencia": "Recarga",
"idExterno": "promo-42",
"fechaExterna": "2026-08-05"
}
'import requests
url = "https://api.dev.gallo-pay.com/wallet/v1/Comprobante"
payload = {
"idCuenta": 274931,
"importe": 100,
"idTipoComprobante": 123,
"codigo": "PROMO_REINTEGRO",
"referencia": "Recarga",
"idExterno": "promo-42",
"fechaExterna": "2026-08-05"
}
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({
idCuenta: 274931,
importe: 100,
idTipoComprobante: 123,
codigo: 'PROMO_REINTEGRO',
referencia: 'Recarga',
idExterno: 'promo-42',
fechaExterna: '2026-08-05'
})
};
fetch('https://api.dev.gallo-pay.com/wallet/v1/Comprobante', 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/wallet/v1/Comprobante",
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([
'idCuenta' => 274931,
'importe' => 100,
'idTipoComprobante' => 123,
'codigo' => 'PROMO_REINTEGRO',
'referencia' => 'Recarga',
'idExterno' => 'promo-42',
'fechaExterna' => '2026-08-05'
]),
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/wallet/v1/Comprobante"
payload := strings.NewReader("{\n \"idCuenta\": 274931,\n \"importe\": 100,\n \"idTipoComprobante\": 123,\n \"codigo\": \"PROMO_REINTEGRO\",\n \"referencia\": \"Recarga\",\n \"idExterno\": \"promo-42\",\n \"fechaExterna\": \"2026-08-05\"\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/wallet/v1/Comprobante")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"idCuenta\": 274931,\n \"importe\": 100,\n \"idTipoComprobante\": 123,\n \"codigo\": \"PROMO_REINTEGRO\",\n \"referencia\": \"Recarga\",\n \"idExterno\": \"promo-42\",\n \"fechaExterna\": \"2026-08-05\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.gallo-pay.com/wallet/v1/Comprobante")
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 \"idCuenta\": 274931,\n \"importe\": 100,\n \"idTipoComprobante\": 123,\n \"codigo\": \"PROMO_REINTEGRO\",\n \"referencia\": \"Recarga\",\n \"idExterno\": \"promo-42\",\n \"fechaExterna\": \"2026-08-05\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"saldo": 123,
"availableBalance": "<string>",
"heldBalance": "<string>",
"totalBalance": "<string>"
}{
"statusCode": 400,
"message": "Idempotency-Key header is required",
"timestamp": "2026-07-30T12:00:00.000Z",
"bankStatus": 400,
"bankBody": {}
}{
"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.
Body
application/json
ID cuenta wallet
Example:
274931
Example:
100
Id numérico del tipo de comprobante
Código del tipo (alternativa a idTipoComprobante)
Example:
"PROMO_REINTEGRO"
Example:
"Recarga"
Example:
"promo-42"
Example:
"2026-08-05"
⌘I