IMPORTANT
Adyen require that all payments sent to them always have a unique id, if you try to make a payment with the same reference it will get rejected.Test Card Details
Card Number:
4111111111111111Expiry Date:
0130CVV:
123Required Parameters
transactionType
Currently only 'SALE' is supported which will take a payment from the requested card, more options can be added on request.apiKey
This is provided by Adyen.merchantAccount
This is provided by Adyen.siteReference
This is provided by Trust Payments.amount
Always has to be a whole number, for example £2 is 200.currency
Must be provided as 3 letters for example: 'GBP'.reference
Unique identifier for this payment. We always recommend using a GUID / UUID for payment references, you can see an example here.Optional Parameters
Adyen 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": "adyen",
"mode": "test",
"payment": "payment",
"parameters":
{
"transactionType": "SALE",
"apiKey": "",
"merchantAccount": "",
"siteReference": "",
"amount": "200",
"currency": "GBP",
"reference": "00000000-0000-0000-0000-000000000000"
}
}'