Antes de iniciar la integración, asegúrate de preparar los datos de tu transacción:
{
"amount": 2300,
"amountWithoutTax": 0,
"amountWithTax": 2000,
"tax": 300,
"service": 0,
"tip": 0,
"currency": "USD",
"clientTransactionId": "TP-260825-1512-4629",
"reference": "Prueba Suscripcion de August 2026",
"storeId": "99c14ad3-c9f8-466e-b73f-609e39284538",
"responseUrl": "https:\/\/payphone.website\/api-payphone\/API-CONFIRMACION\/ConfirmacionTokenizacion.php",
"cancellationUrl": "https:\/\/payphone.website\/api-payphone\/API-CONFIRMACION\/Confirmacion.php",
"order": {
"billTo": {
"address1": "Monte Olimpo",
"address2": "Grecia",
"country": "EC",
"state": "Cotopaxi",
"locality": "Latacunga",
"firstName": "Kratos",
"lastName": "Sparta",
"phoneNumber": "+593980112233",
"email": "kratos@olympus.com",
"postalCode": "EC400101",
"customerId": 14,
"ipAddress": "127.0.0.1"
},
"lineItems": [
{
"productName": "Suscripción Disney Plus",
"unitPrice": 2000,
"quantity": 1,
"totalAmount": 2300,
"taxAmount": 300,
"productSKU": "1642.0094",
"productDescription": "Suscripción Mensual"
}
]
},
"documentId": null,
"phoneNumber": null,
"email": null,
"optionalParameter": 13,
"timeZone": null,
"lat": null,
"lng": null,
"lang": null,
"transferTo": null
} {
"paymentId": "A6LiYpB9k02SEZwQsJCB6g",
"payWithPayPhone": "https:\/\/pay.payphonetodoesposible.com\/PayPhone\/Index?paymentId=A6LiYpB9k02SEZwQsJCB6g",
"payWithCard": "https:\/\/pay.payphonetodoesposible.com\/Anonymous\/Index?paymentId=A6LiYpB9k02SEZwQsJCB6g"
} Las tarjetas Diners Club y Discover no son compatibles con este método.
Consulta la documentación oficial para conocer todos los detalles, parámetros disponibles, estructuras de respuesta y buenas prácticas: