Register Payment
Create a new payment transaction between agents
Agent Transactions: Create payments between agents with automatic application of approval rules based on the sender’s configuration.
Request Headers
Your API key for authentication
Request Body
ID of the agent sending the payment
ID of the agent receiving the payment
Name or description of the payment
Tags or categories for the payment
Response
Unique payment identifier in short ID format
Name or description of the payment
Type of payment (EXTERNAL or INTERNAL)
Current status of the payment (New, Pending, or Confirmed)
Timestamp when the payment was created
Whether this payment requires approval
Current approval status (Waiting, Pending, Approved, or Decline)
Transaction hash on the blockchain (if processed immediately)
Status Codes
Status Code | Description |
---|---|
200 | Payment registered successfully |
400 | Bad Request - Invalid parameters or insufficient balance |
401 | Unauthorized - Invalid or missing API key |
404 | Not Found - Agent not found |
500 | Internal Server Error |
Payment Limits: The payment will fail if it exceeds the sender agent’s transaction or daily limits.
Payment Types: Use “EXTERNAL” for payments to recipients outside your agent network and “INTERNAL” for payments between your own agents.
Approval Flow: Payments requiring approval will need to be approved using the Approve Payment endpoint before they are processed.