| Número de tarjeta | Resultado |
|---|---|
4111 1111 1111 1111 | Aprobado |
| Cualquier otro | Rechazado |
curl --location --request POST 'https://sandbox.mypaygateway.io/pay/abc123XYZtoken456/process' \
--header 'Content-Type: application/json' \
--data-raw '{
"cardNumber": "4111111111111111",
"cardExpiry": "12/28",
"cardCvv": "123",
"cardName": "Juan García",
"email": "cliente@ejemplo.com"
}'{
"success": true,
"transactionId": "10805652794",
"message": "Payment processed successfully",
"amount": 150,
"currency": "USD",
"successUrl": "https://mitienda.com/gracias",
"isSandbox": false
}