Test Card Details
Card Number:
4444333322221111Expiry Date:
0130CVV:
123Pay360 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.apiUsername
This is provided by Pay360.apiPassword
This is provided by Pay360.installationId
This is provided by Pay360.amount
Always has to be a whole number, for example £2 is 200. This is true if your exponent is set to '2' for GBPcurrency
Must be provided as 3 letters for example: 'GBP'.cardHolderName
Name as it appears on the card.Optional Parameters
cardNickname
Nickname for this card in your Pay360.defaultCard
Is this the default card for the new customer.sendEmailReceipt
Send an email receipt to the customer.deferred
Indicates if you want the Payment to be Authorised and Captured separately.recurring
Set this field if you want to start a recurring Continuous Authority relationship from this transaction.customerId
Existing customer id in Pay360.customerUpdate
Update the customers details in Pay360.billingLine1
First line of address for the card holder.billingLine2
Second line of address for the card holder.billingLine3
Third line of address for the card holder.billingLine4
Forth line of address for the card holder.billingCity
City for the card holder.billingRegion
Region for the card holder.billingPostcode
Postcode for the card holder.billingCountryCode
The country code of the customer, for example: 'GB'.customerEmail
Email address of the card holder.customerTelephone
Phone number of the card holder.merchantRef
Unique identifier for this payment. We always recommend using a GUID / UUID for payment references, you can see an example here.description
Description for this payment.Pay360 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": "pay360",
"mode": "test",
"payment": "payment",
"parameters":
{
"transactionType": "SALE",
"apiUsername": "",
"apiPassword": "",
"installationId": "",
"amount": "200",
"currency": "GBP",
"cardHolderName": "Test Test",
"cardNickname": "Test123",
"defaultCard": "false",
"sendEmailReceipt": "true",
"deferred": "false",
"recurring": "false",
"customerId": "00000000-0000-0000-0000-000000000000",
"customerUpdate": "true",
"billingLine1": "123 Test Street",
"billingLine2": "Test",
"billingLine3": "Test",
"billingLine4": "Test",
"billingCity": "Test",
"billingRegion": "Test",
"billingPostcode": "SANTA1",
"billingCountryCode": "GB",
"customerEmail": "test@test.com",
"customerTelephone": "07123456789",
"merchantRef": "00000000-0000-0000-0000-000000000000",
"description": "This is a test payment"
}
}'