Paysafe provides a secure API for accepting and processing credit and debit card transactions globally, supporting multiple card networks and over 30 settlement currencies, with built-in fraud prevention, tokenisation, and 3D Secure authentication
Supported Transaction Types
Authorisation
Capture
Purchase
Refund
Withdrawal
Void
Integrations Supported
Currencies & Countries Supported
Title | Description |
---|---|
Currencies Supported | Most major currencies |
Additional attributes to process via Paysafe
You must include the following JSON Attributes in the payload. These attributes inform us to proceed with the redirection to Paysafe in order to finalise the payment process.
You can also refer to our API reference documentation here for more details on the integration.
Description | Hosted Payment Page |
---|---|
Force Transaction Routing | "Routing":{ "ForcePayment": "PAYSAFE”, } |
Client Account Details* | "Client": { "Email": "apcotest@test.com", "FirstName": "Joe", "LastName": "Bloggs", "City": "Valletta", "Country": "MLT", "IPAddress": "1.1.1.1", "DateOfBirth": "1977-12-31", "ClientAccount": "AlisonTest" } |
Test Indicator (required in Sandbox Environment only) | "isTest”: true |
Sample Deposit Request below
{
"TransactionType": "PURC",
"Amount": "1.00",
"Currency": "EUR",
"OrderReference": "Paysafe test",
"RedirectionURL": "https://www.yourURLhere.com/Redirect",
"FailRedirectionURL": "https://yourURLhere.com/FailRedirect/",
"CallBackURL": "https://www.yourURLhere.com/Listener",
"IsTest": true,
"Routing": {
"ForcePayment": "PAYSAFE"
},
"Client": {
"Email": "apcotest@test.com",
"FirstName": "Joe",
"LastName": "Bloggs",
"City": "Valletta",
"Country": "MLT",
"IPAddress": "1.1.1.1",
"DateOfBirth": "1977-12-31",
"ClientAccount": "AlisonTest"
}
}
Additional attributes are required for withdrawals - Direct Connect
Sample request below:
{
"TransactionType": "ORIGINALCREDIT",
"Amount": "1.00",
"Currency": "EUR",
"OrderReference": "Paysafe payout",
"RedirectionURL": "https://www.yourURLhere.com/Redirect",
"CallBackURL": "https://www.yourURLhere.com/Listener",
"IsTest": "True",
"Client": {
"Email": "psc.test+mypins_FMyYhuKDTIkEISuhCBEc@paysafecard.com",
"FirstName": "LNqyziUvWqANAbStzZAkoBaeeO",
"LastName": "ghQhyfyhHjHeMEsnaHLNrBpOTx",
"City": "MagicCity",
"IPAddress": "127.0.0.1",
"ClientAccount": "AlisonTest",
"DateOfBirth": "1989-09-25"
},
"Routing": {
"ForcePayment": "PAYSAFE"
}
}