Braintree

Integration can be tested here.

Braintree can be contacted here.


Example Request

curl --location 'https://api.revopci.co.uk/' \
--header 'X-Session;' \
--header 'X-Auth;' \
--header 'Content-Type: application/json' \
--data '{
    "provider": "braintree",
    "mode": "test",
    "payment": "payment",
    "parameters":
    {
        "transactionType": "SALE" or "TOKEN" or "TOKENSALE",
        "publicKey": "",
        "privateKey": ""

        //SALE
        "amount": "200",
        "addressLine1": "123 Test Street",
        "region": "Test",
        "postalCode": "SANTA1",
        "firstName": "Test",
        "lastName": "Test",
        "cardHolderName": "Test Test",
        "email": "test@test.com",
        "phoneNumber": "07123456789"

        //TOKEN
        "addressLine1": "123 Test Street",
        "region": "Test",
        "postalCode": "SANTA1",
        "firstName": "Test",
        "lastName": "Test",
        "cardHolderName": "Test Test",
        "email": "test@test.com",
        "phoneNumber": "07123456789"

        //TOKENSALE
        "token": "00000000-0000-0000-0000-000000000000",
        "amount": "200",
        "addressLine1": "123 Test Street",
        "region": "Test",
        "postalCode": "SANTA1",
        "firstName": "Test",
        "lastName": "Test",
        "cardHolderName": "Test Test",
        "email": "test@test.com",
        "phoneNumber": "07123456789"
    }
}'