@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
23 lines (22 loc) • 841 B
text/typescript
export interface UpdatePaymentMethodRequest {
/**
* ID of the 'customer' object. String starting with **cus_**.
*/
customer: `cus_${string}`;
/**
* ID of the payment method to update. String starting with **card_** or **other_**.
*/
payment_method: `card_${string}`;
/**
* 'address' object. For details, see [Address Object](ref:address-object).
*/
address?: string;
/**
* Contains the fields that are required for the specific payment method. See [Get Payment Method Required Fields](ref:retrieve-payment-method-required-fields). To determine what fields can be updated, see the 'payment_options' field in the response to [List Payment Methods by Country](ref:retrieve-all-payment-methods-by-country).
*/
fields?: string;
/**
* A JSON object defined by the client.
*/
metadata?: object;
};