ConvertCurrencyDTO

  • sourceCurrency
    Type: string enum
    required

    Source currency

    values
    • NGN
    • USD
    • EUR
    • GBP
    • BTC
    • USDT
    • USDC
  • targetCurrency
    Type: string enum
    required

    Target currency

    values
    • NGN
    • USD
    • EUR
    • GBP
    • BTC
    • USDT
    • USDC
  • accountId
    Type: number

    ID of the virtual account to use for NGN conversions. If omitted, the first available NGN account is used.

  • amount
    Type: number

    Amount in source currency to convert. Required unless a quoteId is supplied, in which case the quote's locked source amount is used and this field is ignored.

  • quoteId
    Type: string

    UUID of an existing quote to execute with its locked-in rate