Antes de iniciar la integración, asegúrate de preparar los datos de tu transacción.
Y preparar los actores a los cuales se dividira el cobro.
[
{
"Identifier": "17XXXXXXXX001",
"Type": 3,
"Amount": 5592
},
{
"Identifier": "+593984XXXXXX",
"Type": 4,
"Amount": 996
}
]{
"amount": 6990,
"amountWithoutTax": 6300,
"amountWithTax": 600,
"tax": 90,
"service": 0,
"tip": 0,
"currency": "USD",
"clientTransactionId": "SP260521-1737-0783",
"reference": "Prueba Boton con Split May 2026",
"storeId": "99c14ad3-c9f8-466e-b73f-609e39284538",
"responseUrl": "https:\/\/www.payphone.website\/api-payphone\/API-CONFIRMACION\/ConfirmacionSplit.php",
"cancellationUrl": "https:\/\/www.payphone.website\/api-payphone\/API-CONFIRMACION\/ConfirmacionSplit.php",
"order": {
"billTo": {
"address1": "UNSC Infinity",
"address2": "Espacio",
"country": "EC",
"state": "Manabí",
"locality": "Manta",
"firstName": "Master",
"lastName": "Chief",
"phoneNumber": "+593981234567",
"email": "mchief@halo.com",
"postalCode": "EC200101",
"customerId": 11,
"ipAddress": "127.0.0.1"
},
"lineItems": [
{
"productName": "God of War Ragnarök",
"unitPrice": 300,
"quantity": 2,
"totalAmount": 690,
"taxAmount": 90,
"productSKU": "3342.0004",
"productDescription": "Videojuego de Playstation 5"
},
{
"productName": "PlayStation 5 GOW Bundle",
"unitPrice": 2100,
"quantity": 3,
"totalAmount": 6300,
"taxAmount": 0,
"productSKU": "3342.0074",
"productDescription": "Consola de Videojuegos"
}
]
},
"documentId": null,
"phoneNumber": null,
"email": null,
"optionalParameter": null,
"lat": null,
"lng": null,
"lang": "es",
"transferTo": "YctgHqo7RoaG0ibIGfLfAOUCFSjhwJLTgh5poUY9XARFdWFb5a0tplifDIHE250J6T+vx0s6qWT9RRwq8UI\/tw1CpX7haRFSJ6blcoco72z6cIKPw0x4AnKmBJY7kzaK25Lx1O3MVxd1sESgruXqAg=="
} {
"message": "Ya existe una transacción con el ClientTransactionId especificado",
"errorCode": 23
}Algo salió mal al enviar la solicitud POST al API de Payphone.
Verifica los datos enviados, el token de autorización o tu conexión.
Consulta la documentación oficial para conocer todos los detalles, parámetros disponibles, estructuras de respuesta y buenas prácticas: