Create a Charge via API
Create one-time Pay Links programatically
Pre-requisites
In order to create a Charge using the Helio API, you need to complete the steps.
1. Create Helio Account & get API keys
You can learn how to set up a Helio account and generate your API keys by following the steps here.
Create a Pay Link
You can learn how to create a Pay Link and explore all configuration options here.
Creating a Charge via API
API Endpoint:
https://api.hel.io/v1/charge/api-key
HTTP Method:
POST
Required Query Parameters:
?apiKey={{Your public key here}}
Required Headers:
Authorization: Bearer {{Your API Token here}}
Example Request Body:
Example Response Body:
Example Query:
Using additionalJSON in Your Request:
You can use the additionalJSON field within the customerDetails object to include any extra information you'd like to pass along with your payment request.
Example Request Body:
Example Query:
Last updated