Test Card Details
Card Number:
4444333322221111Expiry Date:
0130CVV:
123Paysafe have more test cards which can be found here.
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'.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.
Example Request
curl --location 'https://api.revopci.co.uk/' \
--header 'X-Session;' \
--header 'X-Auth;' \
--header 'Content-Type: application/json' \
--data '{
"provider": "paysafe2",
"mode": "test",
"payment": "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"
}
}'