Authentication
Send the merchant API key with every protected API request.
X-API-KEY: your_api_key
Create recurring payment plans, request customer authorization, manage subscriptions and securely process customer-approved plan changes. Every subscription authorization requires a TrustBill wallet login, funding-asset selection and six-digit payment PIN approval.
Production base URL: https://pay.trustbill.net
Send the merchant API key with every protected API request.
X-API-KEY: your_api_key
Define the recurring amount, currency and billing interval.
POST /api/v1/subscription-plans
TrustBill returns an authorization URL. The customer logs in, selects the funding asset and confirms with the six-digit payment PIN. Guest crypto payment is not available for subscriptions.
POST /api/v1/subscriptions
Pause, resume or cancel an existing subscription using the merchant API.
POST /api/v1/subscriptions/{id}/pause