Quickstart
Use the TradPay API to create payments and track transactions
In order to perform actions using the TradPay API, you need to complete the following steps.
1. Create TradPay Account & Get API keys
Go to TradPay and log in.
Under Developer → API, check Enable to generate your Secret API Keys.
Save these securely, as the Secret API Key won’t be retrievable later (you can regenerate both if needed).
Prerequisite: Account verification is required. (Dashboard → Settings → Merchant Profile → Select Creator or Business)

2. Signature
Some API requests may require signature in the header. It’s computed by concatenating your signing key and request body. Then generates a hash using the HMAC SHA256 hash algorithm.
Example request header
Example signature Compress JSON before signing.
3. Send requests
Note: When using TradPay on mainnet, set your Base URL to https://api.tradpay.io/v1 and generate your API keys from app.tradpay.io
Please replace
YOUR-APP-IDwith your actualAPP-ID.
Last updated