get_endpoint_spec
Fetch the complete reference for any PayRetailers endpoint, including parameters, response, and error codes, to generate code against the exact schema.
Instructions
Return the full reference page (parameters, response, error codes) for a specific PayRetailers endpoint. Use this to ground your generated code against the exact request/response schema before emitting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | 'full' returns the entire reference page. 'summary' returns just the top of the page. Default 'full'. | |
| endpoint | Yes | Endpoint slug or logical name. Examples: 'create-transaction', 'create-payout', 'createpayoutquote', 'get-payment-methods', 'post_v1-subscriptions'. Case-insensitive. |