BarclaycardSmartpayFuse
Integration can be tested here.
BarclaycardSmartpayFuse can be contacted here.
Test Card Details
Card Number:
4111111111111111Expiry Date:
1230CVV:
123Required Parameters
transactionType
Currently only 'SALE' is supported which will take a payment from the requested card, more options can be added on request.v-c-merchant-id
This is provided by Barclaycard.keyId
This is provided by Barclaycard.secretKey
This is provided by Barclaycard.hashMethod
Barclaycard supports SHA1, SHA256, SHA512. Make sure this matches your account setting otherwise payments will fail.amount
Always should be a whole or decimal, for example £2.50 is 2.50.currency
Must be provided as 3 letters for example: 'GBP'.firstName
First name of the customer.lastName
Last name of the customer.phoneNumber
Phone number of the card holder.clientReferenceInformationCode
Unique identifier for this payment. We always recommend using a GUID / UUID for payment references, you can see an example here.Optional Parameters
address1
First line of address for the card owner.locality
City for the card owner.administrativeArea
County for the card owner.postalCode
Postcode for the card owner.country
Country for the card owner.BarclaycardSmartpayFuse 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": "barclaycardsmartpayfuse",
"mode": "test",
"payment": "payment",
"parameters":
{
"transactionType": "SALE",
"v-c-merchant-id": "",
"keyId": "",
"secretKey": "",
"clientReferenceInformationCode": "00000000-0000-0000-0000-000000000000",
"amount": "400.20",
"firstName": "test",
"lastName": "test",
"currency": "GBP",
"email": "test@test.com",
"phoneNumber": "07123456789",
"address1": "123 Fake Street",
"locality": "Fakcity",
"administrativeArea": "County",
"postalCode": "SANTA1",
"country": "GB"
}
}'