Forward API
Stripe
Availability
Use 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.Payment Methods using stripe_create_payment_method config
2.Tokens using stripe_create_token config 3.Charges using stripe_create_charge config
Usage
Here are some of the example calls to the endpoints:
- 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": "stripe_create_payment_method",
"url": "https://api.stripe.com/v1/payment_methods",
"method": "POST",
"data":
{
"number": "4242424242424242",
"expiration_month": "8"
"expiration_year": "2024",
"cvv": "314"
}
}'
Note
Any data sent to us this way appear in our logs. Users should refrain from sending us sensitive
data and customer PII.