v8
OpenAPI 3.1.02026-08-033623795.0 MBCompany token transactions
Create company token transaction
Create a token transaction to add, subtract, or transfer tokens for a member within a company.
Required permissions:
- company_token_transaction:create
- member:basic:read
- company:basic:read
post/company_token_transactions
Request body
Example request
{
"amount": 6.9,
"company_id": "biz_xxxxxxxxxxxxxx",
"user_id": "user_xxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"amount": 6.9,
"company": {
"id": "biz_xxxxxxxxxxxxxx"
},
"created_at": "2023-12-01T05:00:00.401Z",
"description": "Reward for completing onboarding",
"idempotency_key": "txn_reward_usr_123_2024",
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
}