Test Card Details
Card Number:
4444333322221111Expiry Date:
0130CVV:
123Paythru have more test cards which can be found here.
Required Parameters
transactionType
'SALE' is supported which will take a payment from the requested card.
'VERIFY' is supported which is for verifying that the card details are correct.
apiKey
This is provided by Paythru.apiPassword
This is provided by Paythru.apiShaKey
This is provided by Paythru.amount
Always has to be a whole number, for example £2 is 200.currency
Must be provided as 3 letters for example: 'GBP'.cardHolderName
Name as it appears on the card.Optional Parameters
Paythru 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": "paythru",
"mode": "test",
"payment": "payment",
"parameters":
{
"transactionType": "SALE" or "VERIFY",
"apiKey": "",
"apiPassword": "",
"apiShaKey": "",
"amount": "200",
"currency": "GBP",
"cardHolderName": "Test Test"
}
}'