GolfManager Logo V3 API
Version 2025-12-15

Recharge voucher

Allows to recharge a voucher (bono) for a customer. The voucher type determines if it’s a money voucher or units voucher.

POST https://eu.golfmanager.com/api/vouchers/recharge.json

Parameters

{
    "customer": "int",
    "voucherType": "int",
    "amount": "float",
    "price": "float?",
    "expiration": "datetime?",
    "notes": "string?",
    "paymentMethod": "int?"
}

Example request:

{
    "customer": 123,
    "voucherType": 5,
    "amount": 100.00,
    "price": 90.00,
    "expiration": "2025-12-31T23:59:59",
    "notes": "Annual recharge",
    "paymentMethod": 1
}

Response

{
    "balance": 250.00,
    "sale": {
        "id": 456,
        "customer": 123,
        "description": "Recarga: Bono Premium",
        "total": 90.00,
        "product": 10,
        "status": 3,
        "created": "2025-10-22T10:30:00"
    }
}