Successful Response
- Get the list of organizations you have access to.
Get OAuth2 access token
Verify that the bearer token is valid.
Get the list of organizat...
Spense Partner APIs (v1)
Download OpenAPI description
Languages
Servers
Production API
https://api.spensepay.com/partner/
- Production APIhttps://api.spensepay.com/partner/auth/token
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.spensepay.com/partner/auth/token \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d grant_type=client_credentials \
-d scope= \
-d client_id=your_client_id \
-d client_secret=your_client_secretResponse
application/json
{ "access_token": "123e4567-e89b-12d3-a456-426614174000", "token_type": "bearer", "expires_in": 3600 }
- Production APIhttps://api.spensepay.com/partner/auth/ping
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.spensepay.com/partner/auth/ping \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'- Production APIhttps://api.spensepay.com/partner/auth/organizations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.spensepay.com/partner/auth/organizations \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "id": "string", "name": "string", "vat_number": "string", "country": "string", "payment_profiles": [] } ]