Payment Provider Integration
As a payment provider, you integrate your network of physical points (stores, kiosks, agents) with Pago46 to process cash collections and disbursements generated by merchants.
Available services
Pay-In (Collections)
Process cash payments from end users at your physical points.
Flow: The user presents a code → you validate and lock the order → you receive the cash → you confirm the transaction.
Pay-Out (Disbursements)
Disburse cash to end users at your physical points.
Flow: The user presents a code → you validate and lock the order → you deliver the cash → you confirm the transaction.
Integration flow
The architecture is server-to-server with HMAC SHA-256 authentication.
Integration steps
- Get your credentials - Receive your
Provider-KeyandProvider-Secret - Register your networks - Send us your list of networks/subnetworks to
get
network_id - Implement HMAC authentication - View guide
- Query orders - Use
GET /providers/orders/{type}/{code}/ - Process transactions - Use
start-paymentandconfirm-payment
Locking applies to both Pay-In and Pay-Out. When you call start-payment, the
order is reserved for your network until you confirm or cancel.
To call the endpoints, you need a valid network_id. Send us your list of
networks/subnetworks so we can register them and assign the IDs.
Environments
| Environment | URL | Usage |
|---|---|---|
| Sandbox | api.dev.pago46.io | Development and testing |
| Production | api.prd.pago46.io | Real operations |
For day-to-day operations in cashier/support teams, review the Service Status page and subscribe to email or Slack alerts to stay informed about incidents and maintenance.
Order lifecycle
The state diagram is the same for Pay-In and Pay-Out. Each arrow shows the
action that triggers the transition: the ones labeled with an endpoint name
(start-payment, confirm-payment, cancel-payment) are the ones you, as a
provider, call via API; the rest happen automatically or are triggered by the
merchant.
The action you can take depends on the order's current state:
- Take an order →
start-payment, available only fromREADY. - Release / "return" an order →
cancel-payment, available only fromPAYMENT_STARTED, before confirming, and only to the provider that locked the order. The order goes back toREADYand is available again. If another provider locked it, you cannot act on it. - Confirm the transaction →
confirm-payment, available only fromPAYMENT_STARTED. The order moves toCOMPLETED. Confirm only once the cash has changed hands: for Pay-In when you received it, for Pay-Out when you handed it out. COMPLETED,CANCELLED, andEXPIREDare final states: they allow no further transitions.
This is a cash operation and confirmation is immediate: an order in
COMPLETED cannot be returned or reversed through the API. Any later
adjustment is resolved in the settlement process agreed upon with the Pago46
team. That's why confirm-payment must always reflect a real movement of cash.
As a provider you never move an order to CANCELLED: cancel-payment only
releases it back to READY. A definitive cancellation is triggered by:
- In Pay-In: the end user or the Pago46 team.
- In Pay-Out: only the Pago46 team.
Merchants cannot cancel orders.
Coverage
Pago46 operates in multiple countries across Latin America. View complete list.