Skip to content
Open
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,113 changes: 496 additions & 617 deletions mintlify/openapi.yaml

Large diffs are not rendered by default.

1,113 changes: 496 additions & 617 deletions openapi.yaml

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions openapi/components/schemas/common/BasePaymentAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,3 @@ required:
properties:
accountType:
$ref: ./PaymentAccountType.yaml
discriminator:
propertyName: accountType
mapping:
CLABE: ./PaymentClabeAccountInfo.yaml
US_ACCOUNT: ./PaymentUsAccountInfo.yaml
PIX: ./PaymentPixAccountInfo.yaml
IBAN: ./PaymentIbanAccountInfo.yaml
UPI: ./PaymentUpiAccountInfo.yaml
NGN_ACCOUNT: ./PaymentNgnAccountInfo.yaml
SPARK_WALLET: ./PaymentSparkWalletInfo.yaml
LIGHTNING: ./PaymentLightningInvoiceInfo.yaml
SOLANA_WALLET: ./PaymentSolanaWalletInfo.yaml
TRON_WALLET: ./PaymentTronWalletInfo.yaml
POLYGON_WALLET: ./PaymentPolygonWalletInfo.yaml
BASE_WALLET: ./PaymentBaseWalletInfo.yaml
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: CLABE Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./ClabeAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: IBAN Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./IbanAccountInfo.yaml
Expand Down
33 changes: 11 additions & 22 deletions openapi/components/schemas/common/PaymentInstructions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,17 @@ properties:
example: true
accountOrWalletInfo:
oneOf:
- title: CLABE Account
$ref: ../common/PaymentClabeAccountInfo.yaml
- title: US Bank Account
$ref: ../common/PaymentUsAccountInfo.yaml
- title: PIX Account
$ref: ../common/PaymentPixAccountInfo.yaml
- title: IBAN Account
$ref: ../common/PaymentIbanAccountInfo.yaml
- title: UPI Account
$ref: ../common/PaymentUpiAccountInfo.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/PaymentClabeAccountInfo.yaml
- $ref: ../common/PaymentUsAccountInfo.yaml
- $ref: ../common/PaymentPixAccountInfo.yaml
- $ref: ../common/PaymentIbanAccountInfo.yaml
- $ref: ../common/PaymentUpiAccountInfo.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: PIX Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./PixAccountInfo.yaml
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: 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: 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: UPI Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./UpiAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: US Bank Account
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./UsAccountInfo.yaml
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: ./BusinessBeneficiary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,3 @@ required:
properties:
accountType:
$ref: ./ExternalAccountType.yaml
discriminator:
propertyName: accountType
mapping:
US_ACCOUNT: ./UsAccountExternalAccountInfo.yaml
CLABE: ./ClabeAccountExternalAccountInfo.yaml
PIX: ./PixAccountExternalAccountInfo.yaml
IBAN: ./IbanAccountExternalAccountInfo.yaml
UPI: ./UpiAccountExternalAccountInfo.yaml
NGN_ACCOUNT: ./NgnAccountExternalAccountInfo.yaml
CAD_ACCOUNT: ./CadAccountExternalAccountInfo.yaml
GBP_ACCOUNT: ./GbpAccountExternalAccountInfo.yaml
PHP_ACCOUNT: ./PhpAccountExternalAccountInfo.yaml
SGD_ACCOUNT: ./SgdAccountExternalAccountInfo.yaml
SPARK_WALLET: ./SparkWalletExternalAccountInfo.yaml
LIGHTNING: ./LightningExternalAccountInfo.yaml
SOLANA_WALLET: ./SolanaWalletExternalAccountInfo.yaml
TRON_WALLET: ./TronWalletExternalAccountInfo.yaml
POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml
BASE_WALLET: ./BaseWalletExternalAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Base Wallet
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/BaseWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
oneOf:
- title: Individual Beneficiary
$ref: ./IndividualBeneficiary.yaml
- title: Business Beneficiary
$ref: ./BusinessBeneficiary.yaml
- $ref: ./IndividualBeneficiary.yaml
- $ref: ./BusinessBeneficiary.yaml
discriminator:
propertyName: beneficiaryType
mapping:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Business Beneficiary
allOf:
- $ref: ./BaseBeneficiary.yaml
- type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: CAD Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/CadAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: CLABE Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/ClabeAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,36 +1,20 @@
oneOf:
- title: US Account
$ref: ./UsAccountExternalAccountInfo.yaml
- title: CLABE Account
$ref: ./ClabeAccountExternalAccountInfo.yaml
- title: PIX Account
$ref: ./PixAccountExternalAccountInfo.yaml
- title: IBAN Account
$ref: ./IbanAccountExternalAccountInfo.yaml
- title: UPI Account
$ref: ./UpiAccountExternalAccountInfo.yaml
- title: NGN Account
$ref: ./NgnAccountExternalAccountInfo.yaml
- title: CAD Account
$ref: ./CadAccountExternalAccountInfo.yaml
- title: GBP Account
$ref: ./GbpAccountExternalAccountInfo.yaml
- title: PHP Account
$ref: ./PhpAccountExternalAccountInfo.yaml
- title: SGD Account
$ref: ./SgdAccountExternalAccountInfo.yaml
- title: Spark Wallet
$ref: ./SparkWalletExternalAccountInfo.yaml
- title: Lightning
$ref: ./LightningExternalAccountInfo.yaml
- title: Solana Wallet
$ref: ./SolanaWalletExternalAccountInfo.yaml
- title: Tron Wallet
$ref: ./TronWalletExternalAccountInfo.yaml
- title: Polygon Wallet
$ref: ./PolygonWalletExternalAccountInfo.yaml
- title: Base Wallet
$ref: ./BaseWalletExternalAccountInfo.yaml
- $ref: ./UsAccountExternalAccountInfo.yaml
- $ref: ./ClabeAccountExternalAccountInfo.yaml
- $ref: ./PixAccountExternalAccountInfo.yaml
- $ref: ./IbanAccountExternalAccountInfo.yaml
- $ref: ./UpiAccountExternalAccountInfo.yaml
- $ref: ./NgnAccountExternalAccountInfo.yaml
- $ref: ./CadAccountExternalAccountInfo.yaml
- $ref: ./GbpAccountExternalAccountInfo.yaml
- $ref: ./PhpAccountExternalAccountInfo.yaml
- $ref: ./SgdAccountExternalAccountInfo.yaml
- $ref: ./SparkWalletExternalAccountInfo.yaml
- $ref: ./LightningExternalAccountInfo.yaml
- $ref: ./SolanaWalletExternalAccountInfo.yaml
- $ref: ./TronWalletExternalAccountInfo.yaml
- $ref: ./PolygonWalletExternalAccountInfo.yaml
- $ref: ./BaseWalletExternalAccountInfo.yaml
discriminator:
propertyName: accountType
mapping:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: GBP Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/GbpAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: IBAN Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/IbanAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Individual Beneficiary
allOf:
- $ref: ./BaseBeneficiary.yaml
- type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Lightning
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/LightningInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: NGN Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/NgnAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: PHP Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/PhpAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: PIX Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/PixAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Polygon Wallet
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/PolygonWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: SGD Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/SgdAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Solana Wallet
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/SolanaWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Spark Wallet
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/SparkWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Tron Wallet
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/TronWalletInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: UPI Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/UpiAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: US Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/UsAccountInfo.yaml
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/quotes/AccountDestination.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Account
allOf:
- $ref: ./BaseDestination.yaml
- type: object
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/quotes/AccountQuoteSource.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Account
allOf:
- $ref: ./BaseQuoteSource.yaml
- type: object
Expand Down
Loading