SafetyPay Payment Notification
JSON payment notification sent to the business partner.
Unix timestamp in milliseconds indicating the time of the card assignment event.
1607017210793Event type that triggered the payment notification.
ASSIGN_CARDSAPI version number.
1data objectrequired
Transaction data included in the payment notification.
Ten-digit merchant ID.
1100000000customer objectrequired
Customer data included in the payment notification.
Unique customer identifier provided by the business partner.
kfoLkCq3RBIJiJF6sJWBeYA4tnfsCms2Payment identifier.
pay_1100000000_XdyBD9FuEJVhpX3hctwJzCB8w1rEzgTo_USDPayment method used for the transaction.
Possible values: [paysafecard, safetypay]
safetypayType of payment option used for the transaction.
Possible values: [cash, online]
cashIdentifier of the bank used for a SafetyPay transaction.
The source documentation states that PaysafeCard should be contacted if this parameter is required.
9999card_details object[]required
Details of the cards used for the transaction.
A maximum of ten card-detail entries can be returned for a single transaction.
Possible values: <= 10
Serial number identifying the card.
1420271325Three-letter ISO 4217 currency code of the card.
Possible values: >= 3 characters and <= 3 characters
USDAmount used from the card, with two decimal places.
10Five-character code identifying the card type.
Possible values: >= 5 characters and <= 5 characters
00094Two-letter ISO 3166-1 country code of the card.
Possible values: >= 2 characters and <= 2 characters
XX{
"timestamp": 1607017210793,
"eventType": "ASSIGN_CARDS",
"version": "1",
"data": {
"mid": "1100000000",
"customer": {
"id": "kfoLkCq3RBIJiJF6sJWBeYA4tnfsCms2"
},
"payment_id": "pay_1100000000_XdyBD9FuEJVhpX3hctwJzCB8w1rEzgTo_USD",
"payment_instrument": "safetypay",
"payment_instrument_subtype": "cash",
"bank_id": "9999",
"card_details": [
{
"serial": "1420271325",
"currency": "USD",
"amount": 10,
"type": "00094",
"country": "XX"
}
]
}
}