Skip to content

Agent registration

Register an agent to obtain credentials used by the HTTP APIs.

On success, you receive:

  • agent_id – unique identifier for the agent
  • token – 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, and jwt in a secure store and associate them with your user/agent record.
  • Use the jwt in the Authorization: Bearer header for payment and payout calls.

Released under the MIT License.