@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
23 lines (22 loc) • 610 B
text/typescript
export interface UpdateOrderRequest {
/**
* ID of the order.
*/
order: string;
/**
* ID of a discount coupon that is applied against this order. The coupon `duration` must be **once**. Can be changed when status is **created**.
*/
coupon?: string;
/**
* A JSON object defined by the client.
*/
metadata?: object;
/**
* Indicates the status of the order. Can be changed when status is **pending**, **paid**, or **fulfilled**.
*/
status?: string;
/**
* Percentage of tax to charge. Decimal. Can be changed when status is **created**.
*/
tax_percent?: number;
};