Skip to content

Bill payments

Only registered if BILL_PAYMENTS_ENABLED is set server-side (on by default). See Bill payments for the underlying flow.

ParameterTypeRequiredDescription
qstringSearch term (name or code). Omit to list all.
{ "companies": [{ "code": "EDENOR", "name": "EDENOR", "supportedMethods": [{ "id": "...", "type": "...", "description": "...", "helpText": "..." }] }], "count": 1 }
ParameterTypeRequiredDescription
company_codestringe.g. EDENOR
ref_idstringReference/client number from the invoice
method_idstringLookup method; auto-detected if omitted
{ "bills": [{ "companyName": "EDENOR", "referenceId": "...", "type": "FIXED", "amount": "18500.00", "minAmount": "", "maxAmount": "", "allowedAmounts": [], "expireAt": "2026-08-01T00:00:00Z", "description": "..." }], "count": 1, "method_id": "..." }
ParameterTypeRequiredDescription
company_codestringCompany code
ref_idstringBill reference ID
method_idstringOptional
amount_arsnumberRequired for OPEN/variable-amount bills

If the bill requires an amount you didn’t provide, returns a confirmation payload instead of paying:

{
"requires_amount": true,
"message": "This bill requires an amount. Retry with amount_ars set.",
"bill": { "bills": [{ "type": "OPEN", "minAmount": "1000", "maxAmount": "50000", "allowedAmounts": [] }], "count": 1, "method_id": "..." }
}

Otherwise:

{ "id": "c2f0...", "company_code": "EDENOR", "company_name": "EDENOR", "ref_id": "...", "bill_type": "FIXED", "amount_ars": 18500, "status": "pending", "created_at": "..." }
ParameterTypeRequiredDescription
limitintegerDefault 20
{ "payments": [{ "id": "...", "company_code": "EDENOR", "company_name": "EDENOR", "ref_id": "...", "bill_type": "FIXED", "amount_ars": 18500, "status": "completed", "confirmation_code": "...", "created_at": "..." }] }
ParameterTypeRequiredDescription
company_codestringCompany code
per_payment_limit_arsnumberCap per auto-approved payment. Omit for no limit.
{ "added": { "id": "...", "company_code": "EDENOR", "company_name": "EDENOR", "per_payment_limit_ars": null, "created_at": "..." } }
ParameterTypeRequiredDescription
company_codestringCompany code to remove

Returns plain text confirmation, not JSON.

Parameters: none.

{ "whitelist": [{ "id": "...", "company_code": "EDENOR", "company_name": "EDENOR", "per_payment_limit_ars": 20000, "created_at": "..." }] }