CashPay API
Accept and process Cash App payments through the CashPay API
Step 1: Authentication
To use the Hoodpay API, you will need to authenticate using an API key. You can obtain an API key by registering for an account on our website. Once you have an API key, you will need to include it in every request to our API by including it in the Authorization
header like so: Authorization: Bearer your_api_key_here
Step 2: Endpoints
The Hoodpay API provides several endpoints that you can use to interact with our service. You can find detailed information about each endpoint in our API Specs.
Here are a few of the most commonly used endpoints:
- Payments View/Create the payments.
- Businesses Get your businesses.
- Public Payments View/Take actions as customer for payments.
Step 3: Making Requests
To make a request to our API, you will need to send an HTTP request to the appropriate endpoint. All requests should include the Authorization
header with your API key.
Requests to our API should be sent using HTTPS. Requests sent over HTTP will be redirected.
Step 4: Handling Responses
Responses from our API will be in JSON format. If a request is successful, the response status will be 200. If requests fails, then there will be message
and array of errors