| Field | Description |
|---|---|
| qr_code_content | QR code image; scanning it opens the same URL as reference_url (see QR Code below). |
| reference_url | Deep link that opens the Deuna app directly to complete the payment — use this when the customer is on the same device as the checkout. |
curl --location 'https://api.paypaga.com/v2/transactions/pay-in' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 1000,
"country": "EC",
"currency": "USD",
"customer_ip": "120.29.48.92",
"merchant_customer_id": "customer@email.com",
"merchant_order_reference": "ORDER-2026-0001",
"merchant_transaction_reference": "TRX-2026-0001",
"payment_method": "deuna",
"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": {
"qr_code_content": "data:image/png;base64,iVBORw...wH4qAAAAAElFTkSuQmC",
"reference_url": "https://pagar.deuna.app/H92p/merchant?id=MD1HRSTT6176UH1"
},
"payment_method_reference": "129930",
"transaction_id": "20260205-1127-4678-8883-5e4868d33e4e"
}