Agent registration
Register an agent to obtain credentials used by the HTTP APIs.
On success, you receive:
agent_id– unique identifier for the agenttoken– OAuth‑style secret (store securely)jwt– bearer token used when calling FluxA payment and payout endpoints
Example:
bash
curl -X POST https://agentid.fluxapay.xyz/register \
-H "Content-Type: application/json" \
-d '{
"email": "your-email@example.com",
"agent_name": "Your Agent Name",
"client_info": "Your Client Info"
}'Implementation tips:
- Persist
agent_id,token, andjwtin a secure store and associate them with your user/agent record. - Use the
jwtin theAuthorization: Bearerheader for payment and payout calls.
