cURL
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" } }
Explore ledger account in detail
The unique identifier for the aggregator
"agg_2288490a-2176-4de5-b373-0ffb6f8e2e6e"
The unique identifier for the merchant
"am_be454a50-7612-4dc6-a97e-284ebbe7ae93"
This response contains details of an external merchant ledger account
Standard response structure for successful operations
The current version of the API spec
"v1"
ledger account record
Show child attributes
Was this page helpful?