v1
latestOpenAPI 3.0.02026-07-2475182625.5 KBAccounts
Retrieve an account
Returns the details of an account with the given account_id.
get/accounts/{account_id}
Path parameters
account_idstring required
Example:abcDEFgHiJklM1N-3OP9q
Unique identifier for the account.
Response
OK
Example response
{
"id": "abcDEFgHiJklM1N-3OP9q",
"account": "abcDEFgHiJklM1N-3OP9q",
"action": "account.get",
"contact": {
"first": "First",
"last": "Last",
"email": "first.last@domain.com",
"company": "Company Name",
"phone": "555-555-5555",
"subscribed": true
},
"address": {
"addressLine1": "123 Main Street",
"addressLine2": "Apt. 456",
"city": "Santa Barbara",
"region": "US-CA",
"regionCustom": "555-555-5555",
"company": "Company Name"
},
"language": "en",
"country": "US",
"lookup": {
"global": "ab-Cd9e8F6ghiJ-Okl3M3n",
"custom": "customKey"
},
"url": "https://user.test.onfastspring.com/account",
"payment": {
"methods": 1,
"active": 1
},
"orders": [
"aAB0cdefGHiJkL0m8n8OpQ",
"rST2uv1wXy279zABCd_E2f"
],
"subscriptions": [
"84a1bCDEf86g_-HijK_LMN"
],
"charges": [
{
"currency": "USD",
"payoutCurrency": "USD",
"totalInPayoutCurrency": 100,
"status": "successful",
"order": "aAB0cdefGHiJkL0m8n8OpQ",
"orderReference": "ABC230906-7581-30108",
"subscription": "84a1bCDEf86g_-HijK_LMN",
"timestamp": 1693959029538,
"timestampValue": 1693959029538,
"timestampInSeconds": 1693959029
}
],
"subscribed": true,
"result": "success"
}