Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,433 changes: 651 additions & 782 deletions mintlify/openapi.yaml

Large diffs are not rendered by default.

1,433 changes: 651 additions & 782 deletions openapi.yaml

Large diffs are not rendered by default.

25 changes: 0 additions & 25 deletions openapi/components/schemas/common/BasePaymentAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,3 @@ required:
properties:
accountType:
$ref: ./PaymentAccountType.yaml
discriminator:
propertyName: accountType
mapping:
USD_ACCOUNT: ./PaymentUsdAccountInfo.yaml
BRL_ACCOUNT: ./PaymentBrlAccountInfo.yaml
MXN_ACCOUNT: ./PaymentMxnAccountInfo.yaml
DKK_ACCOUNT: ./PaymentDkkAccountInfo.yaml
EUR_ACCOUNT: ./PaymentEurAccountInfo.yaml
INR_ACCOUNT: ./PaymentInrAccountInfo.yaml
NGN_ACCOUNT: ./PaymentNgnAccountInfo.yaml
CAD_ACCOUNT: ./PaymentCadAccountInfo.yaml
GBP_ACCOUNT: ./PaymentGbpAccountInfo.yaml
HKD_ACCOUNT: ./PaymentHkdAccountInfo.yaml
IDR_ACCOUNT: ./PaymentIdrAccountInfo.yaml
MYR_ACCOUNT: ./PaymentMyrAccountInfo.yaml
PHP_ACCOUNT: ./PaymentPhpAccountInfo.yaml
SGD_ACCOUNT: ./PaymentSgdAccountInfo.yaml
THB_ACCOUNT: ./PaymentThbAccountInfo.yaml
VND_ACCOUNT: ./PaymentVndAccountInfo.yaml
SPARK_WALLET: ./PaymentSparkWalletInfo.yaml
LIGHTNING: ./PaymentLightningInvoiceInfo.yaml
SOLANA_WALLET: ./PaymentSolanaWalletInfo.yaml
TRON_WALLET: ./PaymentTronWalletInfo.yaml
POLYGON_WALLET: ./PaymentPolygonWalletInfo.yaml
BASE_WALLET: ./PaymentBaseWalletInfo.yaml
1 change: 1 addition & 0 deletions openapi/components/schemas/common/BrlBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/BusinessBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Business Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/DkkBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/EurBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/GbpBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/HkdBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/IdrBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/InrBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/MxnBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/MyrBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Base Wallet
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./BaseWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: BRL Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./BrlAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: CAD Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./CadAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: DKK Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./DkkAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: EUR Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./EurAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: GBP Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./GbpAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: HKD Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./HkdAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: IDR Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./IdrAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: INR Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./InrAccountInfo.yaml
66 changes: 22 additions & 44 deletions openapi/components/schemas/common/PaymentInstructions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,50 +14,28 @@ properties:
example: true
accountOrWalletInfo:
oneOf:
- title: USD Bank Account
$ref: ../common/PaymentUsdAccountInfo.yaml
- title: BRL Account
$ref: ../common/PaymentBrlAccountInfo.yaml
- title: MXN Account
$ref: ../common/PaymentMxnAccountInfo.yaml
- title: DKK Account
$ref: ../common/PaymentDkkAccountInfo.yaml
- title: EUR Account
$ref: ../common/PaymentEurAccountInfo.yaml
- title: INR Account
$ref: ../common/PaymentInrAccountInfo.yaml
- title: NGN Account
$ref: ../common/PaymentNgnAccountInfo.yaml
- title: CAD Account
$ref: ../common/PaymentCadAccountInfo.yaml
- title: GBP Account
$ref: ../common/PaymentGbpAccountInfo.yaml
- title: HKD Account
$ref: ../common/PaymentHkdAccountInfo.yaml
- title: IDR Account
$ref: ../common/PaymentIdrAccountInfo.yaml
- title: MYR Account
$ref: ../common/PaymentMyrAccountInfo.yaml
- title: PHP Account
$ref: ../common/PaymentPhpAccountInfo.yaml
- title: SGD Account
$ref: ../common/PaymentSgdAccountInfo.yaml
- title: THB Account
$ref: ../common/PaymentThbAccountInfo.yaml
- title: VND Account
$ref: ../common/PaymentVndAccountInfo.yaml
- title: Spark Wallet
$ref: ../common/PaymentSparkWalletInfo.yaml
- title: Lightning Invoice
$ref: ../common/PaymentLightningInvoiceInfo.yaml
- title: Solana Wallet
$ref: ../common/PaymentSolanaWalletInfo.yaml
- title: Tron Wallet
$ref: ../common/PaymentTronWalletInfo.yaml
- title: Polygon Wallet
$ref: ../common/PaymentPolygonWalletInfo.yaml
- title: Base Wallet
$ref: ../common/PaymentBaseWalletInfo.yaml
- $ref: ../common/PaymentUsdAccountInfo.yaml
- $ref: ../common/PaymentBrlAccountInfo.yaml
- $ref: ../common/PaymentMxnAccountInfo.yaml
- $ref: ../common/PaymentDkkAccountInfo.yaml
- $ref: ../common/PaymentEurAccountInfo.yaml
- $ref: ../common/PaymentInrAccountInfo.yaml
- $ref: ../common/PaymentNgnAccountInfo.yaml
- $ref: ../common/PaymentCadAccountInfo.yaml
- $ref: ../common/PaymentGbpAccountInfo.yaml
- $ref: ../common/PaymentHkdAccountInfo.yaml
- $ref: ../common/PaymentIdrAccountInfo.yaml
- $ref: ../common/PaymentMyrAccountInfo.yaml
- $ref: ../common/PaymentPhpAccountInfo.yaml
- $ref: ../common/PaymentSgdAccountInfo.yaml
- $ref: ../common/PaymentThbAccountInfo.yaml
- $ref: ../common/PaymentVndAccountInfo.yaml
- $ref: ../common/PaymentSparkWalletInfo.yaml
- $ref: ../common/PaymentLightningInvoiceInfo.yaml
- $ref: ../common/PaymentSolanaWalletInfo.yaml
- $ref: ../common/PaymentTronWalletInfo.yaml
- $ref: ../common/PaymentPolygonWalletInfo.yaml
- $ref: ../common/PaymentBaseWalletInfo.yaml
discriminator:
propertyName: accountType
mapping:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Lightning Invoice
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: MXN Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./MxnAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: MYR Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./MyrAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: NGN Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./NgnAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: PHP Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./PhpAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Polygon Wallet
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./PolygonWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: SGD Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./SgdAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Solana Wallet
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./SolanaWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Spark Wallet
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./SparkWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: THB Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./ThbAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Tron Wallet
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./TronWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: USD Bank Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./UsdAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: VND Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./VndAccountInfo.yaml
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/PhpBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/SgdBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/ThbBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/UsdBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/common/VndBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/customers/BusinessCustomer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Business Customer
allOf:
- $ref: ./Customer.yaml
- $ref: ./BusinessCustomerFields.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Business Customer Create Request
allOf:
- $ref: ./CustomerCreateRequest.yaml
- $ref: ./BusinessCustomerFields.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Business Customer Update Request
allOf:
- $ref: ./CustomerUpdateRequest.yaml
- $ref: ./BusinessCustomerFields.yaml
5 changes: 0 additions & 5 deletions openapi/components/schemas/customers/Customer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,3 @@ properties:
description: Whether the customer is marked as deleted
example: false
readOnly: true
discriminator:
propertyName: customerType
mapping:
INDIVIDUAL: ./IndividualCustomer.yaml
BUSINESS: ./BusinessCustomer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@ properties:
If provided during customer update, the UMA address will be updated to the provided value. This is an optional identifier to route payments to the customer.
This is an optional identifier to route payments to the customer.
example: $john.doe@uma.domain.com
discriminator:
propertyName: customerType
mapping:
INDIVIDUAL: ./IndividualCustomerCreateRequest.yaml
BUSINESS: ./BusinessCustomerCreateRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
oneOf:
- title: Individual Customer Create Request
$ref: ./IndividualCustomerCreateRequest.yaml
- title: Business Customer Create Request
$ref: ./BusinessCustomerCreateRequest.yaml
- $ref: ./IndividualCustomerCreateRequest.yaml
- $ref: ./BusinessCustomerCreateRequest.yaml
discriminator:
propertyName: customerType
mapping:
Expand Down
6 changes: 2 additions & 4 deletions openapi/components/schemas/customers/CustomerOneOf.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
oneOf:
- title: Individual Customer
$ref: ./IndividualCustomer.yaml
- title: Business Customer
$ref: ./BusinessCustomer.yaml
- $ref: ./IndividualCustomer.yaml
- $ref: ./BusinessCustomer.yaml
discriminator:
propertyName: customerType
mapping:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@ properties:
Optional UMA address identifier. If provided, the customer's UMA address will be updated.
This is an optional identifier to route payments to the customer.
example: $john.doe@uma.domain.com
discriminator:
propertyName: customerType
mapping:
INDIVIDUAL: ./IndividualCustomerUpdateRequest.yaml
BUSINESS: ./BusinessCustomerUpdateRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
oneOf:
- title: Individual Customer Update Request
$ref: ./IndividualCustomerUpdateRequest.yaml
- title: Business Customer Update Request
$ref: ./BusinessCustomerUpdateRequest.yaml
- $ref: ./IndividualCustomerUpdateRequest.yaml
- $ref: ./BusinessCustomerUpdateRequest.yaml
discriminator:
propertyName: customerType
mapping:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Customer
allOf:
- $ref: ./Customer.yaml
- $ref: ./IndividualCustomerFields.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Customer Create Request
allOf:
- $ref: ./CustomerCreateRequest.yaml
- $ref: ./IndividualCustomerFields.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Customer Update Request
allOf:
- $ref: ./CustomerUpdateRequest.yaml
- $ref: ./IndividualCustomerFields.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,3 @@ properties:
$ref: ./BeneficiaryType.yaml
address:
$ref: ../common/Address.yaml
discriminator:
propertyName: beneficiaryType
mapping:
INDIVIDUAL: ./IndividualBeneficiary.yaml
BUSINESS: ../common/BusinessBeneficiary.yaml
Loading