Dashboard
APIInstall Merchant Account
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Mock
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Install Merchant Account

Connect a payment provider to your subscription bot. BotSubscription supports Stripe, PayPal, and NOWPayments (crypto). Provide your API credentials and specify the environment (sandbox for testing or production for live payments) to enable payment processing.

POST/v2/projects/{project_id}/merchant-accounts

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

Request Body

providerstringrequired

Payment provider identifier: stripe, paypal, or nowpayments.

environmentstringrequired

Environment: sandbox or production.

labelstring

Optional label to identify this merchant account.

Provider-Specific Parameters

For Stripe:

stripe_secret_keystringrequired

Your Stripe secret key.

For PayPal:

paypal_client_idstringrequired

Your PayPal client ID.

paypal_client_secretstringrequired

Your PayPal client secret.

For NOWPayments:

nowpayments_api_keystringrequired

Your NOWPayments API key.

nowpayments_ipn_secretstringrequired

Your NOWPayments IPN secret.

Last updated: