For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search
/
Log in
Get Paid
Documentation
API Reference
CLI
v2
v2
Stable
v2
v2
Stable
Log in
Get Paid
API Reference
orders
Get order
Copy page
GET
https://api.agentpaid.io/api/v2
/
orders
/
:id
Get an order by ID
Authentication
Authorization
Bearer
API Key authentication using Bearer token
Path parameters
id
string
Required
Response
200
id
string
customerId
string
billingCustomerId
string or null
billingContactIds
list of strings
createdAt
datetime
updatedAt
datetime
endDate
datetime or null
name
string
startDate
datetime
subscriptionTerms
integer or null
billedAmountNoTax
double
billedTax
double
estimatedTax
double
orderAmount
double
pendingBillingAmount
double
totalAmount
double
totalBilledAmount
double
creationState
enum
Allowed values:
draft
active
paymentTerms
string or null
number
double
metadata
map from strings to any or null
showPaymentLink
boolean or null
showBankDetails
boolean or null
autoPostInvoices
boolean or null
autoSendBillingEmails
boolean or null
autoSendPaymentEmails
boolean or null
version
integer
billingFrequencyOverridden
boolean
purchaseOrderReference
string or null
billingFrequencyOverride
object
Show 2 properties
Errors
403
Forbidden Error
404
Not Found Error
500
Internal Server Error