Provider guide

Paysafe

Integration notes, required parameters, test details and example requests for integrating Paysafe with the Revo PCI platform.

At a glance
1
Supported transaction type

Supported modes
SALE
Testing

Test card details

Card Number:
4444333322221111
Expiry Date:
0431
CVV:
123

Paysafe have more test cards which can be found here.

Overview

Integration requirements

Required parameters

transactionType
Currently only 'SALE' is supported which will take a payment from the requested card, more options can be added on request.
username
This is provided by Paysafe.
password
This is provided by Paysafe.
accountId
This is provided by Paysafe.
amount
Always has to be a whole number, for example £2 is 200.
merchantRefNumber
Unique identifier for this payment. We always recommend using a GUID / UUID for payment references, you can see an example here.

Optional parameters

settleWithAuth
Take the payment or auth it for later taking.
skipCvv
Check the Cvv number.
skipAvs
Check the address matches the card holder.
firstName
First name of the customer.
lastName
Last name of the customer.
addressLine1
First line of address for the card owner.
addressLine2
Secondary line of address for the card owner.
region
Region for the card owner.
postalCode
Postcode for the card owner.
countryCode
The country code of the customer, for example: 'GB'.
email
Email address of the card holder.
phoneNumber
Phone number of the card holder.

Paysafe may support other parameters not currently integrated into the PCI platform, more information can be found here, if you would like any integrated please contact us.

Reference

Example request

cURL exampleAPI request
curl --location 'https://api.revopci.co.uk/' \
            --header 'X-Session;' \
            --header 'X-Auth;' \
            --header 'Content-Type: application/json' \
            --data '{
            "provider": "paysafe2",
            "mode": "test",
            "method": "payment",
            "parameters":
            {
            "transactionType": "SALE",
            "username": "",
            "password": "",
            "accountId": "",
            "amount": "200",
            "merchantRefNumber": "00000000-0000-0000-0000-000000000000",

            "settleWithAuth": "true",
            "skipCvv": "false",
            "skipAvs": "false",
            "firstName": "Test",
            "lastName": "Test",
            "addressLine1": "123 Test Street",
            "addressLine2": "Test",
            "region": "Test",
            "postalCode": "SANTA1",
            "countryCode": "GB",
            "email": "test@test.com",
            "phoneNumber": "07123456789"
            }
            }'