Get Account Info
Account
Get Account Info
Retrieve merchant account details from an API key.
GET
Get Account Info
Get Account Info
Intro
Returns the merchant account tied to the calling API key — its ID, name, country, and settlement currency — without you having to already know or configure any of that.Context
This is the endpoint integrations call first, before anything else, to self-configure. The WooCommerce plugin uses it to auto-detect the merchant ID and settlement currency instead of asking the merchant to type them in by hand. Authentication works exactly as described in Authentication — theX-API-Key header, no separate setup.
Hows
Request
No body required. Authentication is via theX-API-Key header.
Response
Errors
Whys
settlement_currency is sourced from the merchant’s KYC record rather than a self-reported profile field, because that’s the actual source of truth for which currency payouts land in — a merchant can’t accidentally desync this endpoint’s answer from what they’re really getting paid in. Keeping the response to four fields (rather than the full merchant profile) is intentional: this endpoint exists for auto-configuration, and every extra field is another thing a plugin has to handle if it’s absent or changes shape.
