Adyen
AvailabilityUse of the production
Forward API is subject to
eligibility.
Contact your Account Manager for more information or
submit an inquiry to our Business Development team.
1.Payments using adyen_payments config 2.Authorise using adyen_authorise config
Usage
The shared config also supports both Basic auth and API key based authentication. Here is a sample request using Basic auth:
- bash
curl https://forwarding.sandbox.braintreegateway.com/ \
-H "Content-Type: application/json" \
-X POST \
-u "$\{BRAINTREE_PUBLIC_KEY}:$\{BRAINTREE_PRIVATE_KEY}" \
-d '{
"merchant_id": "'$BRAINTREE_MERCHANT_ID'",
"payment_method_nonce": "fake-valid-nonce",
"name": "adyen_payments",
"url": "https://checkout-test.adyen.com/v70/payments",
"method": "POST",
"data": {
"number": "4242424242424242",
"expiration_month": "8",
"expiration_year": "2024",
"cvv": "314",
"currency": "USD",
"value": "1000",
"reference": "Your order number"
},
"sensitive_data": {
"basic_auth_token": "'$AUTH_TOKEN'"
}
}'- bash
curl https://forwarding.sandbox.braintreegateway.com/ \
-H "Content-Type: application/json" \
-X POST \
-u "$\{BRAINTREE_PUBLIC_KEY}:$\{BRAINTREE_PRIVATE_KEY}" \
-d '{
"merchant_id": "'$BRAINTREE_MERCHANT_ID'",
"payment_method_nonce": "fake-valid-nonce",
"name": "adyen_payments",
"url": "https://checkout-test.adyen.com/v70/payments",
"method": "POST",
"data": {
"number": "4242424242424242",
"expiration_month": "8",
"expiration_year": "2024",
"cvv": "314",
"currency": "USD",
"value": "1000",
"reference": "Your order number"
},
"sensitive_data": {
"api_key": "'$API_KEY'"
}
}'Note
Any data sent to us this way appear in our logs. Users should refrain from sending us sensitive
data and customer PII.