GetPaymentTokenResponse
Response to the API Call to fetch the payment_token
The Merchant ID (MID) is a configuration unit assigned to a merchant, defining processing parameters such as currency and operational settings. A merchant may have multiple MIDs, including multiple MIDs with the same currency, to support different configurations or requirements.
9000001500customer objectrequired
Details and/or restriction for the customer are provided in this object
Merchant customer identifier
TestUser123E-mail used to create the PaysafeCard account
customer@email.comAssociation ID used afterwards to retrieve the payment token
spi_gp2ksSLbpPoZ4WmyxpxsQLWpSIURL where the customer is redirected after successfully giving the consent. In this case it is copied from the call to create association.
https://www.guinbox.com/notes/uC5lKyzh74xURL where the customer is redirected if the customer cancels the transactions. In this case it is copied from the call to create association.
https://www.guinbox.com/notes/FP8gU99Wj7uProvides information on the status of the payment_token.
VALIDUnix timestamp in milliseconds when the payment was created
1781533110699Unix timestamp in milliseconds of the last update
1781533153610Payment token to be used in future merchant initiated payments
spi_ZmBMcOQNuH3dRTeDReSZBjLIbbUnix timestamp in milliseconds of the last update
1813069153592{
"mid": 9000001500,
"customer": {
"id": "TestUser123",
"email": "customer@email.com"
},
"association_id": "spi_gp2ksSLbpPoZ4WmyxpxsQLWpSI",
"success_url": "https://www.guinbox.com/notes/uC5lKyzh74x",
"failure_url": "https://www.guinbox.com/notes/FP8gU99Wj7u",
"status": "VALID",
"created": 1781533110699,
"updated": 1781533153610,
"payment_token": "spi_ZmBMcOQNuH3dRTeDReSZBjLIbb",
"expiration_date": 1813069153592
}