REST API
cURL
curl --request GET \ --url https://api.adullam.dev/v1/account \ --header 'Authorization: Bearer <token>'
{ "partner_id": "partner_abc123", "business_name": "My Store", "phone": "+22507123456", "email": "[email protected]", "status": "active", "created_at": "2024-01-01T00:00:00Z" }
Retrieve partner account information
Use the access token obtained from /v1/auth/token
Account information
"partner_abc123"
"My Store"
"+22507123456"
"[email protected]"
active
inactive
suspended
pending_verification
"active"
"2024-01-01T00:00:00Z"