| Field | Description |
|---|---|
| reference_url | Link to the printable payment voucher ("formato de pago") the customer presents at an affiliated PayCash retail location (e.g. OXXO, 7-Eleven) to pay in cash. Contains the reference number mentioned in the Payment Instructions below. |
curl --location 'https://api.paypaga.com/v2/transactions/pay-in' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 1000,
"country": "MX",
"currency": "MXN",
"customer_ip": "120.29.48.92",
"merchant_customer_id": "customer@email.com",
"merchant_order_reference": "ORDER-2026-0026",
"merchant_transaction_reference": "TRX-2026-0026",
"payment_method": "paycash",
"return_urls": {
"failure_url": "https://merchant.com/payment-failure",
"success_url": "https://merchant.com/payment-success"
}
}'{
"expires_at": "2026-06-09T14:13:05.143073869Z",
"instructions": {
"reference_url": "https://www.paycashglobal.com/formato.php?referencia=1441332600019&interno=1"
},
"payment_method_reference": "129930",
"transaction_id": "20260209-0920-4e80-9bcf-49f6503dd1ca"
}