Skip to main content

PagoEfectivo Payment Response

objectstringrequired

Type of returned object.

Possible values: [PAYMENT]

Example: PAYMENT
idstringrequired

Unique payment identifier.

Example: pay_1100000000_v2Pa0tDn0tr1CpvkSQoyjY77eV005P1_USD
createdinteger<int64>required

Payment creation timestamp in milliseconds.

Example: 1607074107062
updatedinteger<int64>required

Payment update timestamp in milliseconds.

Example: 1607074107062
currencystringrequired

Payment currency.

Possible values: >= 3 characters and <= 3 characters, Value must match regular expression ^[A-Z]{3}$

Example: USD
statusstringrequired

Current payment status.

Example: INITIATED
typestringrequired

Product type.

Possible values: [PAYSAFECARD]

Example: PAYSAFECARD
redirect objectrequired
success_urlstring<uri>required

URL used after successful payment authorization.

Example: https://ok.com
failure_urlstring<uri>required

URL used after failed or cancelled payment authorization.

Example: https://nok.com
auth_urlstring<uri>

URL to which the customer is redirected for authorization.

Example: https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet
customer objectrequired
idstringrequired

Unique customer identifier provided by the merchant.

Example: test_dev
amountnumber<double>required

Payment amount.

Example: 1
notification_urlstring<uri>required

Payment notification URL.

Example: https://notification.example.com/payment
PagoEfectivo Payment Response
{
"object": "PAYMENT",
"id": "pay_1100000000_v2Pa0tDn0tr1CpvkSQoyjY77eV005P1_USD",
"created": 1607074107062,
"updated": 1607074107062,
"currency": "USD",
"status": "INITIATED",
"type": "PAYSAFECARD",
"redirect": {
"success_url": "https://ok.com",
"failure_url": "https://nok.com",
"auth_url": "https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet"
},
"customer": {
"id": "test_dev"
},
"amount": 1,
"notification_url": "https://notification.example.com/payment"
}