Raw
1 /**
2 * @schema AdminCreateStoreCreditAccount
3 * type: object
4 * description: The details of the store credit account to create.
5 * x-schemaName: AdminCreateStoreCreditAccount
6 * required:
7 * - currency_code
8 * properties:
9 * currency_code:
10 * type: string
11 * title: currency_code
12 * description: The store credit account's currency code.
13 * example: usd
14 * customer_id:
15 * type: string
16 * title: customer_id
17 * description: The ID of the customer that the store credit account belongs to.
18 * metadata:
19 * type: object
20 * description: The store credit account's metadata, can hold custom key-value pairs.
21 * externalDocs:
22 * url: https://docs.medusajs.com/api/admin#manage-metadata
23 * description: Learn how to manage metadata
24 *
25 */
26