Attach Instrument to Customer

Beta
Adds an instrument to customer.

Headers

AcceptstringRequiredDefaults to application/vnd.bc+json
The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body.

Request

This endpoint expects an object.
payment_method_idstringRequired
Identifier for payment method that will be used for this instrument obtained from Payment Methods API.
currency_codestringRequired
The instrument currency.
customer_idstringRequired
The ID of the customer to add instrument for.
instrumentobjectRequired
billing_addressobjectRequired
default_instrumentbooleanOptional
Set this instrument as default for customer?
trusted_shipping_addresseslist of objectsOptional
Trusted shipping address for instrument.

Response

Created instrument
dataobject
metaobject
Response metadata.

Errors

401
Unauthorized Error
422
Unprocessable Entity Error