InitiatePaymentResponse
Represents the response returned after creating, retrieving or capturing a payment
objectstringrequired
Object type identifier
Example:
PAYMENTidstringrequired
Unique identifier of the payment
Example:
pay_9000001500_jLN9657f9uLNxSbXdhMmndw54N66W8Ea_EURcreatedinteger<int64>required
Unix timestamp in milliseconds when the payment was created
Example:
1781006255231updatedinteger<int64>required
Unix timestamp in milliseconds of the last update
Example:
1781006255231currencystringrequired
ISO 4217 (3 letter ISO currency code)
Example:
EURstatusstringrequired
Represents the current status of the payment.
Example:
INITIATEDtypestringrequired
Payment method type
Example:
PAYSAFECARDamountnumber<float>required
Payment amount
Example:
0.01notification_urlstring<uri>required
URL where payment notifications are sent
Example:
https://paymentnotification.site/examplecustomer objectrequired
Customer associated with the payment
idstringrequired
Merchant customer identifier
Example:
TestUser123redirect objectrequired
Redirect URLs and authorization URL for the payment flow
success_urlstring<uri>required
URL where the customer is redirected after successful authorization
Example:
https://www.guinbox.com/notes/uC5lKyzh74xfailure_urlstring<uri>required
URL where the customer is redirected if the payment fails
Example:
https://www.guinbox.com/notes/FP8gU99Wj7uauth_urlstring<uri>required
URL where the customer must be redirected to authorize the payment
Example:
https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet?mid=9000001500&mtid=pay_9000001500_jLN9657f9uLNxSbXdhMmndw54N66W8Ea_EUR&amount=0.01¤cy=EURsubmerchant_idstring
Identifier of the submerchant
Example:
SUBM1234InitiatePaymentResponse
{
"object": "PAYMENT",
"id": "pay_9000001500_jLN9657f9uLNxSbXdhMmndw54N66W8Ea_EUR",
"created": 1781006255231,
"updated": 1781006255231,
"currency": "EUR",
"status": "INITIATED",
"type": "PAYSAFECARD",
"amount": 0.01,
"notification_url": "https://paymentnotification.site/example",
"customer": {
"id": "TestUser123"
},
"redirect": {
"success_url": "https://www.guinbox.com/notes/uC5lKyzh74x",
"failure_url": "https://www.guinbox.com/notes/FP8gU99Wj7u",
"auth_url": "https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet?mid=9000001500&mtid=pay_9000001500_jLN9657f9uLNxSbXdhMmndw54N66W8Ea_EUR&amount=0.01¤cy=EUR"
},
"submerchant_id": "SUBM1234"
}