orders

Activate order and process payment

Activates the order and processes the initial payment using the provided Stripe confirmation token.

post/orders/{orderId}/activate-and-pay

Request

  • Base URL: https://api.agentpaid.io/api/v1
  • URL: https://api.agentpaid.io/api/v1/orders/{orderId}/activate-and-pay
  • Auth: HTTP bearer

Path parameters

orderIdstring required

The order ID (can be internal ID or display ID)

Request body

confirmationTokenstring required

Stripe confirmation token for the payment method

returnUrlstring required

URL to redirect to after payment processing

Response

Order activated and payment processed successfully

idstring
namestring
descriptionstring
customerIdstring
organizationIdstring
startDatestring
endDatestring
totalAmountnumber double
estimatedTaxnumber double
billedAmountNoTaxnumber double
billedTaxnumber double
totalBilledAmountnumber double
pendingBillingAmountnumber double
creationState'active' | 'draft'

Changes

No recorded changes to this operation across all 1 revision of this API.