diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 6bd8645a..3c6f5f09 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -4535,6 +4535,14 @@ components: type: string description: The customer id of the newly created customer on the system example: Customer:019542f5-b3e7-1d02-0000-000000000001 + InternalAccountStatus: + type: string + enum: + - PENDING + - OPEN + - CLOSED + - FROZEN + description: Status of an internal account CurrencyAmount: type: object required: @@ -5478,6 +5486,7 @@ components: type: object required: - id + - status - balance - fundingPaymentInstructions - createdAt @@ -5487,6 +5496,8 @@ components: type: string description: The ID of the internal account example: InternalAccount:12dcbd6-dced-4ec4-b756-3c3a9ea3d123 + status: + $ref: '#/components/schemas/InternalAccountStatus' customerId: type: string description: The ID of the customer associated with the internal account. If this field is empty, the internal account belongs to the platform. diff --git a/openapi.yaml b/openapi.yaml index 6bd8645a..3c6f5f09 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4535,6 +4535,14 @@ components: type: string description: The customer id of the newly created customer on the system example: Customer:019542f5-b3e7-1d02-0000-000000000001 + InternalAccountStatus: + type: string + enum: + - PENDING + - OPEN + - CLOSED + - FROZEN + description: Status of an internal account CurrencyAmount: type: object required: @@ -5478,6 +5486,7 @@ components: type: object required: - id + - status - balance - fundingPaymentInstructions - createdAt @@ -5487,6 +5496,8 @@ components: type: string description: The ID of the internal account example: InternalAccount:12dcbd6-dced-4ec4-b756-3c3a9ea3d123 + status: + $ref: '#/components/schemas/InternalAccountStatus' customerId: type: string description: The ID of the customer associated with the internal account. If this field is empty, the internal account belongs to the platform. diff --git a/openapi/components/schemas/customers/InternalAccount.yaml b/openapi/components/schemas/customers/InternalAccount.yaml index bb7aaa59..279fd080 100644 --- a/openapi/components/schemas/customers/InternalAccount.yaml +++ b/openapi/components/schemas/customers/InternalAccount.yaml @@ -1,6 +1,7 @@ type: object required: - id + - status - balance - fundingPaymentInstructions - createdAt @@ -10,6 +11,8 @@ properties: type: string description: The ID of the internal account example: InternalAccount:12dcbd6-dced-4ec4-b756-3c3a9ea3d123 + status: + $ref: ./InternalAccountStatus.yaml customerId: type: string description: The ID of the customer associated with the internal account. If this field is empty, the internal account belongs to the platform. diff --git a/openapi/components/schemas/customers/InternalAccountStatus.yaml b/openapi/components/schemas/customers/InternalAccountStatus.yaml new file mode 100644 index 00000000..bc53106d --- /dev/null +++ b/openapi/components/schemas/customers/InternalAccountStatus.yaml @@ -0,0 +1,7 @@ +type: string +enum: + - PENDING + - OPEN + - CLOSED + - FROZEN +description: Status of an internal account