Payment
Initialize payment
{
"widget": { // required
"method": "p2c", // required
"locale": "en" // optional
},
"reference": "{{$guid}}", // required, unique
"currency": "UAH", // required
"amount": 1000, // required
"description": "My order payin", // optional
"customer": { // required
"identifier": "1111-1111-2211-2211", // required
"email": "juancarlos@hotmail.com", // optional
"phone": "+5491123456789", // optional
"first_name": "Juan", // required
"last_name": "García Rodríguez", // required
"middle_name": "Carlos", // optional
"country": "UA", // optional
"state_code": "B", // optional
"city": "Buenos Aires", // optional
"address": "Calle Emilio Mitre 3256", // optional
"zip_code": "C1407", // optional
"itn": "12345678910", // optional
"birthday": "2006-01-02", // optional
"ip": "192.168.0.1", // optional
"gender": "male" // optional
},
"redirect_url": "https://merchant.shop.com/", // optional
"cancel_url": "https://merchant.shop.com/cancel", // optional
"callback_url": "https://zcs4g1c3-7047.euw.devtunnels.ms/callback/success", // conditional
"extra": // conditional, any field which may be needed for transaction routing and integration
[{"key_1":"value"},{"key_2":"value"},{"key_3":"value"},{"key_4":"value"}]
}Challenge type: redirect
Response - 400 Bad request
Callback
Callback flow
Example
Check Payment Status
Response (Not Found):
Last updated