Properties
| Property | Type | Required | Description |
|---|
network | MonetaryAmount | No | The network fee (e.g., gas fee for blockchain transactions) |
moonpay | MonetaryAmount | No | The MoonPay processing fee |
partner | MonetaryAmount | No | The partner’s fee, if applicable |
MonetaryAmount
Each fee is represented as a monetary amount:
| Property | Type | Required | Description |
|---|
amount | string | Yes | The numeric amount as a string to preserve precision |
currencyCode | string | Yes | The 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.