Crear tipo de comprobante
curl --request POST \
--url https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"nombre": "Promo reintegro",
"codigo": "PROMO_REINTEGRO",
"descripcion": "Reintegro por promoción",
"tipoMovimiento": "001"
}
'import requests
url = "https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante"
payload = {
"nombre": "Promo reintegro",
"codigo": "PROMO_REINTEGRO",
"descripcion": "Reintegro por promoción",
"tipoMovimiento": "001"
}
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({
nombre: 'Promo reintegro',
codigo: 'PROMO_REINTEGRO',
descripcion: 'Reintegro por promoción',
tipoMovimiento: '001'
})
};
fetch('https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante', 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/TipoComprobante",
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([
'nombre' => 'Promo reintegro',
'codigo' => 'PROMO_REINTEGRO',
'descripcion' => 'Reintegro por promoción',
'tipoMovimiento' => '001'
]),
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/TipoComprobante"
payload := strings.NewReader("{\n \"nombre\": \"Promo reintegro\",\n \"codigo\": \"PROMO_REINTEGRO\",\n \"descripcion\": \"Reintegro por promoción\",\n \"tipoMovimiento\": \"001\"\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/TipoComprobante")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"nombre\": \"Promo reintegro\",\n \"codigo\": \"PROMO_REINTEGRO\",\n \"descripcion\": \"Reintegro por promoción\",\n \"tipoMovimiento\": \"001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante")
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 \"nombre\": \"Promo reintegro\",\n \"codigo\": \"PROMO_REINTEGRO\",\n \"descripcion\": \"Reintegro por promoción\",\n \"tipoMovimiento\": \"001\"\n}"
response = http.request(request)
puts response.read_body{
"id": 123
}{
"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 tipo de comprobante
signo 1 = crédito, -1 = débito; u opcionalmente sentido credit|debit|hold|release|confirm_hold.
POST
/
wallet
/
v1
/
TipoComprobante
Crear tipo de comprobante
curl --request POST \
--url https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"nombre": "Promo reintegro",
"codigo": "PROMO_REINTEGRO",
"descripcion": "Reintegro por promoción",
"tipoMovimiento": "001"
}
'import requests
url = "https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante"
payload = {
"nombre": "Promo reintegro",
"codigo": "PROMO_REINTEGRO",
"descripcion": "Reintegro por promoción",
"tipoMovimiento": "001"
}
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({
nombre: 'Promo reintegro',
codigo: 'PROMO_REINTEGRO',
descripcion: 'Reintegro por promoción',
tipoMovimiento: '001'
})
};
fetch('https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante', 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/TipoComprobante",
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([
'nombre' => 'Promo reintegro',
'codigo' => 'PROMO_REINTEGRO',
'descripcion' => 'Reintegro por promoción',
'tipoMovimiento' => '001'
]),
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/TipoComprobante"
payload := strings.NewReader("{\n \"nombre\": \"Promo reintegro\",\n \"codigo\": \"PROMO_REINTEGRO\",\n \"descripcion\": \"Reintegro por promoción\",\n \"tipoMovimiento\": \"001\"\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/TipoComprobante")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"nombre\": \"Promo reintegro\",\n \"codigo\": \"PROMO_REINTEGRO\",\n \"descripcion\": \"Reintegro por promoción\",\n \"tipoMovimiento\": \"001\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.gallo-pay.com/wallet/v1/TipoComprobante")
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 \"nombre\": \"Promo reintegro\",\n \"codigo\": \"PROMO_REINTEGRO\",\n \"descripcion\": \"Reintegro por promoción\",\n \"tipoMovimiento\": \"001\"\n}"
response = http.request(request)
puts response.read_body{
"id": 123
}{
"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
Example:
"Promo reintegro"
Example:
"PROMO_REINTEGRO"
Example:
"Reintegro por promoción"
1 = crédito, -1 = débito
Available options:
1, -1 Extensión Gallo; si viene, manda sobre signo
Available options:
credit, debit, hold, release, confirm_hold Categoría de movimiento (opcional)
Example:
"001"
Response
⌘I