API reference
Account
2 endpoints. Every call is POST https://api.useburj.com/v1/<path> with a JSON body.
Partner profile
POST
/partner-infoName, contact, balance, webhook URL and order count.
Body
Send an empty JSON object: {}
Errors
Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.
Current balance
POST
/balancePrepaid balance in USD. Orders are paid from it.
Body
Send an empty JSON object: {}
Errors
Like every authenticated endpoint, it can also return AUTH_UNAUTHORIZED (401), RATE_LIMITED (429) and INTERNAL_ERROR (500). See all error codes.