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.

The Header contains: the signature content of X-TX-Signature and X-TX-AppId

  • Example request header

  • Example signature Compress JSON before signing.

3. Send requests

  • Please replace YOUR-APP-ID with your actual APP-ID.

Last updated