Public API reference
/v4 API
/- List Braintree payment methods
Retrieve the Braintree token
Create a subscription charged callback
List the Braintree subscriptions of a user
Update the Braintree subscription
Cancel the Braintree subscription
Create a Braintree buy (one-off)
Create a new Braintree payment method.
Update a Braintree payment method
Delete the Braintree payment method
Set the default Braintree payment method
List all Braintree plans
Get a Braintree Promo Code
List Braintree add-ons
Start the Braintree subscription (Deprecated)
List Braintree payment me...
Lists the Braintree payment method details associated with the logged-in user.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/zephr/payment/braintree/payment-methods
curl -i -X GET \
https://demo-site/zephr/payment/braintree/payment-methods \
-H 'cookie: `blaize_session=...` (string)' \
-b '`blaize_session=...` (string)'OK
Array []
In the case of a credit card payment method, the name of the card holder.
Example:"John Rambo"
In the case of a card payment method, the masked card number, compliant with PCI security standards.
Example:"654321******0987"
In the case of a card payment method, the expiration date, in the format of MM/YY or MM/YYYY.
Example:"07/22"
In the case of a card payment method, if the card will expire within the configured number of days.
Indicates if this payment method is used by any subscriptions that have not been finalised and would be cancelled if this payment method is deleted.
In the case of a card payment method, the last four digits of the card number.
Example:"1111"
A nonce that can be used for other payment method operations.
Example:"086128f3-04c2-069e-78d2-3f4de98508e5"
Response
[ { "token": "8m2kc5g", "default": false, "card_type": "Visa", "card_holder_name": "John Rambo", "card_number_masked": "654321******0987", "expiration_date": "07/22", "expired": false, "expiring_soon": false, "in_use": false, "last_4": "1111", "nonce": "086128f3-04c2-069e-78d2-3f4de98508e5", "type": "CreditCard", "zipcode": "123456" } ]