Payouts

Get fees for token amount

Changed on

Computes the expected fees for a given token amount and payout fiat currency.

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

Request

Headers

on-behalf-ofstring

Organization ID to act on behalf of

Request body

Example request

{
  "tokenFeeRequests": [
    {
      "amount": {
        "tokenSymbol": "USDC"
      }
    }
  ]
}

Response

Payout fees for token amount

Example response

[
  {
    "estimatedFiatAmount": {
      "fiatCurrencyCode": "USD"
    },
    "feeTotal": {
      "tokenSymbol": "USDC"
    },
    "minTransactionValue": {
      "tokenSymbol": "USDC"
    },
    "tokenAmount": {
      "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