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