Get classification
curl --request GET \
--url https://app.payemcard.com/api/partner/v1/classification \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.payemcard.com/api/partner/v1/classification"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.payemcard.com/api/partner/v1/classification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"classification": {}
}classification
Get classification
Get classification for a sub company or company
GET
/
api
/
partner
/
v1
/
classification
Get classification
curl --request GET \
--url https://app.payemcard.com/api/partner/v1/classification \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.payemcard.com/api/partner/v1/classification"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.payemcard.com/api/partner/v1/classification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"classification": {}
}Authorizations
Short-lived OAuth 2.0 access token. Tokens expire after five minutes.
Query Parameters
Optional subsidiary ID. When omitted, returns classification for the whole company.
Response
200 - application/json
Show child attributes
Show child attributes
