Provider guide
Braintree
Integration notes, required parameters, test details and example requests for integrating Braintree with the Revo PCI platform.
At a glance
3
Supported transaction types
Supported modes
SALE, TOKEN, TOKENSALE
Testing
Test card details
Card Number:
4444333322221111Expiry Date:
0731CVV:
123
Overview
Integration requirements
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.
'TOKENSALE' is supported for taking a payment with an existing token.
publicKey
This is provided by Braintree.
privateKey
This is provided by Braintree.
Reference
Example request
json example
API request
curl --location 'https://api.revopci.co.uk/' \
--header 'X-Session;' \
--header 'X-Auth;' \
--header 'Content-Type: application/json' \
--data '{
"provider": "braintree",
"mode": "test",
"method": "payment",
"parameters": {
"transactionType": "SALE",
"publicKey": "",
"privateKey": ""
}
}'