APIGet Merchant Account

Get Merchant Account

Retrieve detailed information about a specific merchant account.

GET/v2/projects/{project_id}/merchant-accounts/{merchant_account_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

merchant_account_idstringRequired

The unique identifier of the merchant account.

Query Parameters

expandstring

Include additional data. Use 'requirements' to include requirement fields for accounts that have requirements.

Request
curl -X GET "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/merchant-accounts/11111111-1111-1111-1111-111111111111" \
  -H "Authorization: Bearer YOUR_TOKEN"
Successapplication/json
{
  "ok": true,
  "request_id": "11111111-1111-1111-1111-111111111111",
  "method": "GET",
  "path": "/v2/projects/YOUR_PROJECT_ID/merchant-accounts/11111111-1111-1111-1111-111111111111",
  "code": 200,
  "message": "Merchant account retrieved successfully",
  "data": {
    "merchant_account_id": "11111111-1111-1111-1111-111111111111",
    "provider": "stripe",
    "environment": "sandbox",
    "active": true,
    "has_requirements": false,
    "configuration_editable": false,
    "label": null
  }
}

Last updated: