Braintree Payments
Update a Braintree payment method
Updates the Braintree payment method details associated with the logged-in user. The details to update must first be captured from Braintree in a nonce and vaulted.
patch/zephr/payment/braintree/payment-methods/{paymentMethodToken}
Request
- Base URL: https://demo-site
- URL: https://demo-site/zephr/payment/braintree/payment-methods/{paymentMethodToken}
- Auth: one of:
- API key in cookie blaize_session
- API key in query parameter jwt
- API key in header x-blaize-jwt
- API key in header x-zephr-jwt
- HTTP bearer
- API key in cookie blaize_jwt
Path parameters
paymentMethodTokenstring required
The unique ID of the payment method.
Headers
cookiestring
The session cookie.
Request body
Example request
{
"payment_method_nonce": "aa583cb8...and other characters...3a43796ef8e5"
}Response
OK
Example response
{
"token": "8m2kc5g",
"card_type": "Visa",
"card_holder_name": "John Rambo",
"card_number_masked": "654321******0987",
"expiration_date": "07/22",
"last_4": "1111",
"nonce": "086128f3-04c2-069e-78d2-3f4de98508e5",
"type": "CreditCard",
"zipcode": "123456"
}Changes
No recorded changes to this operation across all 2 revisions of this API.