Developers > API Playground lets you send a request to the PaymentHooks API from the dashboard and read the response, so your team can see an endpoint's real shape before writing code. It covers the most used endpoints for payments, customers, invoices, subscriptions, gateways and webhook endpoints.
Send a request
- 1Open Developers > API Playground.
- 2In Endpoints on the left, open a group (for example Payments) and choose an endpoint.
- 3Optionally add headers with + Add Header. For POST and PUT, edit the example in Request Body; amounts are in the smallest currency unit and use the API's field names, such as
transactionLocalCurrencyAmountanditemLocalCurrency. - 4Click Send Request. Response shows the status code, the time taken and the JSON body.
Endpoints with :id in the path are sent as shown; to read one record, use the list endpoint first and call the record from your own code or the CLI with its ph_ id.
Copy the request as cURL
cURL Equivalent shows the same request for your terminal, with Copy. The Authorization header shows only the start of your active API key: replace it with the full secret key (phk_...) from Developers > API Keys before running it. Outside the dashboard every request needs that key.