InitiatePaymentToken
Payment type
PAYSAFECARDThe amount of the automated transaction.
0.01ISO 4217 (3 letter ISO currency code)
EURredirect objectrequired
URLs to redirect after successful completion or cancellation of the transaction.
Customer redirected after successful completion of the transaction.
https://www.guinbox.com/notes/uC5lKyzh74xCustomer redirected after cancelling transaction on payment panel (Customer clicking on X).
https://www.guinbox.com/notes/FP8gU99Wj7uURL to be used by PaysafeCard to notify you once the customer has paid using PaysafeCard PIN or account.
https://paymentnotification.site/examplecustomer objectrequired
Details and/or restriction for the customer are provided in this object
Merchant customer identifier
TestUser123Submerchant identifier
SUBM1234Identification of the shop which is the originator of the request. This is most likely used by payment service providers who act as a proxy for other payment methods as well.
Shop_ABCThe token received for automated payments for the customer.
spi_ZmBMcOQNuH3dRTeDReSZBjLIbbOptional parameter used for recurring payments or subscriptions to handle insufficient funds scenarios. Instead of rejecting the payment immediately, it defines a time window during which the customer can complete the payment manually. If the payment is not completed within this period, it will expire.
60automatic_transaction_details object
Provides additional information on the automated transaction.
Type of transaction - CIP_ONE_TIME, MIP_SCHEDULED or MIP_UNSCHEDULED
CIP_ONE_TIME for one click transactions,
MIP_SCHEDULED for subscriptions,
MIP_UNSCHEDULED for one off transactions without user input
MIP_SCHEDULEDOptional identifier of the subscription associated with the transaction.
SUB ID 1Optional description of the automated transaction.
Monthly DexFlix subscription{
"type": "PAYSAFECARD",
"amount": 0.01,
"currency": "EUR",
"redirect": {
"success_url": "https://www.guinbox.com/notes/uC5lKyzh74x",
"failure_url": "https://www.guinbox.com/notes/FP8gU99Wj7u"
},
"notification_url": "https://paymentnotification.site/example",
"customer": {
"id": "TestUser123"
},
"submerchant_id": "SUBM1234",
"shop_id": "Shop_ABC",
"payment_token": "spi_ZmBMcOQNuH3dRTeDReSZBjLIbb",
"expiration_time_minutes": 60,
"automatic_transaction_details": {
"transaction_type": "MIP_SCHEDULED",
"subscription_id": "SUB ID 1",
"description": "Monthly DexFlix subscription"
}
}