Get Payment Options
Payment options will differ from the ones offered directly on Malum, direct local options are not available due to timed processing.
Retrieve available payment options for a given fiat amount and currency. The API converts the amount to USD internally and returns payment options based on the USD value.
Method: GET
Endpoint: https://malum.co/api/v3/reseller/payment_options
Response format: JSON
Required query parameters
fiat_amount
number
49.99
Must be > 0 and <= 10000
fiat_currency
string
EUR
Must be exactly 3 letters, uppercased internally
Validation rules
Only GET parameters are processed.
fiat_currencymust be exactly 3 letters (for exampleEUR,USD).fiat_amountmust be greater than 0 and not greater than 10000.Fiat currency must be supported by the reseller system.
If
fiat_currencyis notUSD, an exchange rate is fetched and the amount is converted to USD.Payment options are calculated using the USD base amount.
Example request
GET https://malum.co/api/v3/reseller/payment_options?fiat_amount=49.99&fiat_currency=EURSuccess response
Field notes
base_in_usdis the computed USD amount used for option selection.payment_optionsis returned as an array (the backend converts internal objects into arrays before responding).
Error responses
Errors return JSON with:
status:failedmessage: a human-readable error messagedata: usually an empty object/array
Common messages include:
Invalid fiat currency.Invalid fiat amount.The requested fiat currency is not supported.Could not retrieve exchange rate for the requested fiat currency.An error occurred, please try again later.
Last updated