Widget
Initialize Widget
Generates a signed session token to initialize the DollarPe embedded widget in your application.
POST
Initialize Widget
Authorizations
API Key for authentication
Current timestamp in seconds since epoch
HMAC SHA256 signature of the request encoded in Base64
Body
application/json
- Buy flow
- Sell flow
Cryptocurrency asset code
Example:
"USDT"
Fiat amount the user will pay (buy flow)
Example:
"1000"
Fiat currency code
Example:
"INR"
Must be buy for this request shape
Available options:
buy Blockchain network code for the asset
Example:
"tron"
Fiat payment method (e.g. IMPS, UPI)
Example:
"IMPS"
User's wallet address to receive crypto
Example:
"TXqH4MnDw46f3yyrRwau3JF92Y1ie3pAXf"

