Page cover

Request Parameters

For a request to be successful, specific parameters must be included. These parameters may vary depending on the endpoint being accessed but generally include:

  • Bearer Token: The authentication token generated from the service dashboard.

  • Endpoint-Specific Parameters: Each endpoint may require additional parameters, such as user ID, account details, query strings, etc.

Example of a cURL Request

Here's how you can make a GET request to one of the Prune API endpoints using a cURL command:

curl -X GET "<https://dps.prunepayments.net/endpoint>" -H "Authorization: Bearer YOUR_TOKEN"

In this example:

  • X GET specifies the type of HTTP request.

  • https://dps.prunepayments.net is the base URL.

  • "<https://dps.prunepayments.net/endpoint>" is the endpoint URL.

  • H "Authorization: Bearer YOUR_TOKEN" includes the authorization header with the Bearer Token.

Last updated