V1OrdersBody
Properties
Name | Type | Required | Description |
---|---|---|---|
customer | str | ✅ | ID of the customer. String starting with cus_. |
currency | str | ✅ | Three-letter ISO 4217 code for the currency used in the objects in the 'items' list. |
items | List[V1ordersItems] | ✅ | Array of line items. |
coupon | str | ❌ | ID of a coupon that is applied against this order. String starting with coupon_. The duration field of the coupon must be set to repeating, and the duration_in_months and discount_duration_in_uses fields must be set to 1. |
str | ❌ | Email address of the customer. | |
metadata | dict | ❌ | A JSON object defined by the client. |
shipping_address | Address | ❌ | address associated with this specific Rapyd entity Payment/Customer etc... |
tax_percent | float | ❌ | Percentage of tax to charge. Decimal. |
upstream_id | str | ❌ | Merchant-defined ID for the order. If the merchant does not define an ID, Rapyd generates it. |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs