API Docs
Business Profiles
API ReferenceBusiness ProfileList

List Business Profiles

Returns every business profile attached to the merchant account.

GET /account/:merchant_id/business_profile

Path Parameters

ParameterTypeRequiredDescription
merchant_idstringYesThe merchant account whose profiles to list.

Request Example

curl 'https://api.v2.paychtec.com/account/merchant_1234567890/business_profile' \  -H "api-key: snd_YOUR_API_KEY"

Response

[
  {
    "profile_id": "pro_xxx",
    "profile_name": "Default",
    "merchant_id": "merchant_1234567890",
    "return_url": "https://acme.com/checkout/return",
    "webhook_details": {
      "webhook_url": "https://acme.com/webhooks/payments",
      "payment_succeeded_enabled": true,
      "payment_failed_enabled": true,
      "payment_created_enabled": false
    },
    "is_auto_retries_enabled": true,
    "max_auto_retries_enabled": 2,
    "fraud_ml_mode": "passive"
  },
  {
    "profile_id": "pro_yyy",
    "profile_name": "Subscriptions",
    "merchant_id": "merchant_1234567890",
    "return_url": "https://acme.com/billing/return"
  }
]