ReDoc documentation
Vault a Payment nonce for a customer. Billing address is optional but advised for Card vaulting.
object (customer-data-address-interface) Customer address interface. | |
required | object (pay-pal-braintree-data-payment-interface) |
200 Success.
401 Unauthorized
Internal Server error
Unexpected error
{- "payment": {
- "payment_method_code": "string",
- "payment_method_nonce": "string",
- "device_data": "string"
}, - "billingAddress": {
- "id": 0,
- "customer_id": 0,
- "region": {
- "region_code": "string",
- "region": "string",
- "region_id": 0,
- "extension_attributes": { }
}, - "region_id": 0,
- "country_id": "string",
- "street": [
- "string"
], - "company": "string",
- "telephone": "string",
- "fax": "string",
- "postcode": "string",
- "city": "string",
- "firstname": "string",
- "lastname": "string",
- "middlename": "string",
- "prefix": "string",
- "suffix": "string",
- "vat_id": "string",
- "default_shipping": true,
- "default_billing": true,
- "extension_attributes": { },
- "custom_attributes": [
- {
- "attribute_code": "string",
- "value": "string"
}
]
}
}
true