| Field | Description | Validation |
|---|---|---|
| phone | Phone number | |
| otp | One Time Password |
curl --location 'https://api.paypaga.com/v2/transactions/pay-in' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 1000,
"country": "PE",
"currency": "PEN",
"payment_method": "yape",
"merchant_order_reference": "ORDER-2026-0033",
"merchant_transaction_reference": "TRX-2026-0033",
"merchant_customer_id": "customer@email.com",
"customer_ip": "120.29.48.92",
"fields": {
"phone": "1234567890",
"otp": "1234"
},
"return_urls": {
"success_url": "https://merchant.com/payment-success",
"failure_url": "https://merchant.com/payment-failure",
"cancel_url": "https://merchant.com/payment-cancelled"
}
}'{
"transaction_id": "20260209-0905-441d-bbad-09b055bb109f",
"payment_method_reference": 129930,
"expires_at": "2026-06-09T14:13:05.143073869Z",
"instructions": {
"qr_code_content": "generate:0002010102122637000280010390302202602090921197374686952044829530360454061000005802PE5912DEMO UMQRNdpSojGNBwPiV0Punz2o=90880005GLOSA0175Pago de referencia con QR 90992298531 #8f1ca3c6-e80c-45d2-8578-a39ddc00b1b291230007FECVCTO01082026021092140005QUOTA0101163042A18"
}
}