cURL
curl --request GET \ --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/organization \ --header 'Authorization: Bearer <token>'
{ "data": { "admin_email": "[email protected]", "admin_first_name": "Ziyad", "admin_last_name": "Parekh", "country": "PK", "enabled": true, "name": "SafePay", "token": "org_d09gv1s20or2svojjmt0" }, "ok": true }
Retrieves details for the organization.
To get an organization, you will need to provide the JWT token in the authorization header.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Organization information retrieved successfully
Standard response structure for successful operations
Indicates if the operation was successful
true
Organization information
Show child attributes
Was this page helpful?