Skip to main content

Properties

PropertyTypeRequiredDescription
networkMonetaryAmountNoThe network fee (e.g., gas fee for blockchain transactions)
moonpayMonetaryAmountNoThe MoonPay processing fee
partnerMonetaryAmountNoThe partner’s fee, if applicable

MonetaryAmount

Each fee is represented as a monetary amount:
PropertyTypeRequiredDescription
amountstringYesThe numeric amount as a string to preserve precision
currencyCodestringYesThe currency code (e.g., USD)

Example

{
  "network": {
    "amount": "2.50",
    "currencyCode": "USD"
  },
  "moonpay": {
    "amount": "3.99",
    "currencyCode": "USD"
  },
  "partner": {
    "amount": "1.00",
    "currencyCode": "USD"
  }
}
All fee amounts are strings to preserve decimal precision. Parse them appropriately in your application.