Skip to main content
GET
/
v1
/
aggregators
/
{raast-aggregator-id}
/
merchants
/
{aggregator-merchant-id}
/
ledger
/
accounts
Find Merchant Ledger Account
curl --request GET \
  --url https://api.getsafepay.com/raastwire/v1/aggregators/{raast-aggregator-id}/merchants/{aggregator-merchant-id}/ledger/accounts \
  --header 'X-SFPY-AGGREGATOR-SECRET-KEY: <api-key>'
{
  "api_version": "v1",
  "data": {
    "id": "47",
    "token": "acct_9f23cbf6-8645-4599-b677-85f83175c3f2",
    "account_type": "ACCT_MERCHANT",
    "account_name": "Ali Aggre-Merch",
    "normal_balance": "SIDE_CREDIT",
    "balance": "1060",
    "currency": "PKR",
    "running_balance": "0",
    "vault_token": "lock_25d98436-1eea-4d0b-a9df-8f124631b25a",
    "bank_acct_id": "acc_831f36c0-97d2-4bd2-ae36-e36025f48ef4",
    "external_partner_id": "partner_ed4f0480-36c8-4a5a-8cd4-381bc4d83f2c",
    "external_aggregator_id": "agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e",
    "external_merchant_id": "am_27211e51-3e1e-4462-b0a5-138e62d265e6",
    "created_at": "2026-01-06T09:28:11Z",
    "updated_at": "2026-01-06T09:28:11Z"
  }
}

Authorizations

X-SFPY-AGGREGATOR-SECRET-KEY
string
header
required

Path Parameters

raast-aggregator-id
string
required

The unique identifier for the aggregator

Example:

"agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e"

aggregator-merchant-id
string
required

The unique identifier for the merchant

Example:

"am_be454a50-7612-4dc6-a97e-284ebbe7ae93"

Response

This response contains details of an external merchant ledger account

Standard response structure for successful operations

api_version
string

The current version of the API spec

Example:

"v1"

data
object

ledger account record