Skip to main content

Documentation Index

Fetch the complete documentation index at: https://dev.moonpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Properties

PropertyTypeRequiredDescription
networkMonetaryAmountNoThe network fee (e.g., gas fee for blockchain transactions)
moonpayMonetaryAmountNoThe MoonPay processing fee
ecosystemMonetaryAmountNoThe ecosystem fee, if applicable
partnerMonetaryAmountNoDeprecated. Use ecosystem instead. This field will be removed in a future release. The 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"
  },
  "ecosystem": {
    "amount": "1.00",
    "currencyCode": "USD"
  },
  "partner": {
    "amount": "1.00",
    "currencyCode": "USD"
  }
}
All fee amounts are strings to preserve decimal precision. Parse them appropriately in your application.