CapturePaymentResponse
Represents the response returned after cancelling a payment
Object type identifier
PAYMENTUnique identifier of the payment
pay_9000001500_jLN9657f9uLNxSbXdhMmndw54N66W8Ea_EURUnix timestamp in milliseconds when the payment was created
1781006255231Unix timestamp in milliseconds of the last update
1781006255231ISO 4217 (3 letter ISO currency code)
EURRepresents the current status of the payment.
- SUCCESS: The payment has been successfully captured.
SUCCESSPayment method type
PAYSAFECARDPayment amount
0.01URL where payment notifications are sent
https://paymentnotification.site/examplecustomer objectrequired
Customer associated with the payment
Merchant customer identifier
TestUser123IPv4 address of the customer. Can only be returned after customer has been re-directed to PaysafeCards payment panel.
134.238.250.192redirect objectrequired
Redirect URLs and authorization URL for the payment flow
URL where the customer is redirected after successful authorization
https://www.guinbox.com/notes/uC5lKyzh74xURL where the customer is redirected if the payment fails
https://www.guinbox.com/notes/FP8gU99Wj7uIdentifier of the submerchant
SUBM1234The type of payment, i.e. paysafecard, giftcard, pagoefectivo or safetypay. It is optional and can be enabled by Paysafe. Can only be returend after the customer has paid.
paysafecardThe way the payment was done. i.e. using code or account. It is optional and can be enabled by Paysafe. Can only be returend after the customer has paid.
accountcard_details objectrequired
Provides details over the PaysafeCard PINs used.
Provides the serial number of the PaysafeCard PIN used to pay. Insensitive payment information that helps customer care investigate.
9900990ISO 4217 (3 letter ISO currency code)
EURCard type identifier of the PaysafeCard PIN used in the payment
2Country where the PaysafeCard PIN was sold, as a 2 letter ISO country code.
AT{
"object": "PAYMENT",
"id": "pay_9000001500_jLN9657f9uLNxSbXdhMmndw54N66W8Ea_EUR",
"created": 1781006255231,
"updated": 1781006255231,
"currency": "EUR",
"status": "SUCCESS",
"type": "PAYSAFECARD",
"amount": 0.01,
"notification_url": "https://paymentnotification.site/example",
"customer": {
"id": "TestUser123",
"ip": "134.238.250.192"
},
"redirect": {
"success_url": "https://www.guinbox.com/notes/uC5lKyzh74x",
"failure_url": "https://www.guinbox.com/notes/FP8gU99Wj7u"
},
"submerchant_id": "SUBM1234",
"payment_instrument": "paysafecard",
"payment_instrument_subtype": "account",
"card_details": {
"serial": 9900990,
"currency": "EUR",
"type": 2,
"country": "AT"
}
}