Skip to content

Recharge agency balance

To perform a balance top-up, send a POST request to the following endpoint. This will generate a payment link for the agency to complete the payment:

POST https://[base_url]/v2/preloaded-balance/agencies/{agency_id}

Query parameters

PARAMETERS TYPE REQ. DESCRIPTION
agency_id Integer Yes The unique ID of the agency

Body

Request using the POST method, this endpoint creates a new agency

{
    "amount": 300000,
    "currency": "COP"
}

Body parameters

PARAMETER TYPE REQUIRED DESCRIPTION
amount Float Yes The amount to be recharged
currency String Yes The currency for the recharge (must be COP)

Endpoint response

{
    "msg": "Link de pago generado exitosamente",
    "url": "https://app.autocore.pro/payment/preloaded-balance/PB_l1hw23vb9a",
    "code": "PB_l1hw23vb9a"
}