Skip to main content

API Parameters

The base URL for payment requests is:

https://us-central1-nfgdatabasedemo.cloudfunctions.net/app/api/invoice_external?

Append parameters as query strings using &, in any order, ensuring required parameters are included.

ParameterRequired?DefaultDescription
apiKeyYesNoneLinks the request to your iPay account and callback. Created in dashboard.
customIdYesNoneUnique ID (e.g., order ID) returned as customerID in callbacks.
onRampProviderYesProvider1Specifies the provider (e.g., provider1).
defaultFiatAmountNo300 (USD)Pre-filled fiat amount in the widget (e.g., 100).
defaultFiatCurrencyNoUSDLocks currency (e.g., EUR). User chooses if omitted.
colorCodeNoBlueHex color for widget theme (e.g., D000F2).
screenTitleNoBuy Crypto To Your WalletCustom widget title (e.g., DepositTest).
tip

Use Postman to test URLs. iPay provides a Postman collection for easy setup. Download the collection here: