Global Payments (Formally Realex Payments)
Integration can be tested here.
Global Payments can be contacted here.
IMPORTANT
Global Payments require that all payments sent to them always have a unique id, if you try to make a payment with the same orderId it will get rejected.Test Card Details
Card Number:
5425230000004415Expiry Date:
0130CVV:
123Global Payments have more test cards which can be found here.
Required Parameters
transactionType
'SALE' is supported which will take a payment from the requested card.
'TOKEN' is supported which is for tokenising the card details for use later.
merchantId
This is provided by Global Payments.account
This is provided by Global Payments.secret
This is provided by Global Payments.cardHolderName
Name as it appears on the card.orderId
Unique identifier for this payment. We always recommend using a GUID / UUID for payment references, you can see an example here.SALE Required Parameters
channel
How is the payment being processed, most of the time for PCI this will be set to 'MOTO'. However Global Payments also accept Ecommerceamount
Always has to be a whole number, for example £2 is 200.currency
Must be provided as 3 letters for example: 'GBP'.autoSettle
Do you want the money to be taken straight away? If so put '1' otherwise, it will be authed and not taken if you put '0'TOKEN Required Parameters
cardRef
Unique identifier for this payment method.payerRef
Unique identifier for this customer.Optional Parameters
Global Payments 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": "globalpayments",
"mode": "test",
"payment": "payment",
"parameters":
{
"transactionType": "SALE" or "TOKEN",
"merchantId": "",
"account": "",
"secret": "",
"cardHolderName": "Test Test",
"orderId", "00000000-0000-0000-0000-000000000000"
//SALE
"channel": "Test",
"amount": "200",
"currency": "GBP",
"autoSettle": "1",
//TOKEN
"cardRef": "00000000-0000-0000-0000-000000000000",
"payerRef": "00000000-0000-0000-0000-000000000000",
"description": "This is a test payment",
}
}'