Admin
Create a Credit
Post a credit grant or debit to the team ledger.
post/admin/credits
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/credits
- Auth: HTTP bearer
Request body
Example request
{
"amount": 280,
"type": "CREDIT",
"notes": "Commission for article #123",
"reason": "referral_commission"
}Response
Credit created successfully
Example response
{
"amount": 280,
"type": "CREDIT",
"reason": "referral_commission",
"notes": "Commission for article #123",
"entity": "order_items",
"entity_id": "123e4567-e89b-12d3-a456-426614174000"
}Changes
No recorded changes to this operation across all 2 revisions of this API.