Payouts

Get fees for fiat amount

Changed on

Computes the estimated original token amount required and estimated fees for a recipient to receive the provided fiat currency amount.

post/api/payouts/fees/fiat-to-token

Request

Headers

on-behalf-ofstring

Organization ID to act on behalf of

Request body

Example request

{
  "fiatFeeRequests": [
    {
      "tokenSymbol": "USDC"
    }
  ]
}

Response

Get payout fees for fiat amount

Example response

[
  {
    "estimatedTokenAmountRequired": {
      "tokenSymbol": "USDC"
    },
    "feeTotal": {
      "tokenSymbol": "USDC"
    },
    "fiatAmount": {
      "fiatCurrencyCode": "USD"
    },
    "minTransactionValue": {
      "tokenSymbol": "USDC"
    },
    "transactionFee": {
      "tokenSymbol": "USDC"
    }
  }
]

Changes

    • warning

      added the new SignedAgreementRequiredException enum value to the response property for the response status

    • warning

      added the new mxn-debit-card enum value to the ///// response property for the response status

    • warning

      added the new mxn-debit-card enum value to the ///// response property for the response status

    • warning

      added the new usd-el-salvador enum value to the ///// response property for the response status

    • warning

      added the new usd-el-salvador enum value to the ///// response property for the response status

    • info

      added the new optional header request parameter on-behalf-of

    • info

      added the new mxn-debit-card enum value to the request property //

    • info

      added the new usd-el-salvador enum value to the request property //

    • info

      added the non-success response with the status

    • info

      added the required property ///// to the response with the status