Braintree · Schema
PaymentMethodRequest
Request body for vaulting a new payment method for an existing customer.
Properties
| Name | Type | Description |
|---|---|---|
| customer_id | string | The identifier of the customer to associate this payment method with. |
| payment_method_nonce | string | A one-time-use reference to payment information provided by the Braintree client SDK. Consumed upon vaulting. |
| token | string | Custom token to assign to this payment method. If omitted, Braintree generates a unique token. |
| billing_address | object | |
| options | object | Options that modify the payment method vaulting behavior. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PaymentMethodRequest",
"title": "PaymentMethodRequest",
"type": "object",
"required": [
"customer_id",
"payment_method_nonce"
],
"description": "Request body for vaulting a new payment method for an existing customer.",
"properties": {
"customer_id": {
"type": "string",
"description": "The identifier of the customer to associate this payment method with.",
"maxLength": 36
},
"payment_method_nonce": {
"type": "string",
"description": "A one-time-use reference to payment information provided by the Braintree client SDK. Consumed upon vaulting."
},
"token": {
"type": "string",
"description": "Custom token to assign to this payment method. If omitted, Braintree generates a unique token.",
"maxLength": 36
},
"billing_address": {
"$ref": "#/components/schemas/Address"
},
"options": {
"type": "object",
"description": "Options that modify the payment method vaulting behavior.",
"properties": {
"make_default": {
"type": "boolean",
"description": "If true, this payment method becomes the customer's default payment method.",
"default": false
},
"fail_on_duplicate_payment_method": {
"type": "boolean",
"description": "If true, the request fails if a duplicate payment method already exists in the customer's vault.",
"default": false
},
"verify_card": {
"type": "boolean",
"description": "If true, runs a card verification before vaulting the payment method.",
"default": false
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/braintree-paymentmethodrequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.