Details of the ACK-Pay flow initiated by a Server requiring payment.
This flow is typically used when access to a resource or service requires immediate payment before fulfillment.
402 Payment Required
status code, with the Payment Request JSON payload included in the response body.paymentOptions
array, selects a suitable option based on its capabilities and policy, and contacts the specified paymentService
endpoint for that option.
The payment options offered in the payload are those supported by the specified Payment Service, which bridges to the Server’s pay-out requirements. Thus the payment options in a Payment Request are not necessarily the same as those accepted by the Server that will ultimately receive a payment.
receiptService
.serviceCallback
URL in the initial Payment Request might allow the Payment Service/Receipt Service to notify the Server directly, which may trigger Server execution or state updates without Client resubmission.To enlarge this mermaid markdown diagram, zoom in on your browser (CMD +)
Consider a data analysis agent (“Client Agent”) needing access to a premium, rate-limited financial data API (“Server Agent”):