API documentation for the Helix-Pay API
Helix-Pay API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.helix-pay.net/_mock/apis/external.gen/
Production server
https://api.helix-pay.net/v1/
Bodyapplication/jsonrequired
The type of consumer. Can be either INDIVIDUAL or BUSINESS.
Example: "INDIVIDUAL"
If consumer_type is INDIVIDUAL, personal_details must be provided. If consumer_type is BUSINESS, company_details must be provided.
- Mock serverhttps://docs.helix-pay.net/_mock/apis/external.gen/consumers
- Production serverhttps://api.helix-pay.net/v1/consumers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.helix-pay.net/_mock/apis/external.gen/consumers \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"consumer_type": "INDIVIDUAL",
"details": {
"first_name": "string",
"last_name": "string",
"email": "user@example.com",
"phone": "+44123456789"
}
}'Response
application/json
{ "id": "csm_1234abcd", "merchant_environment_id": "env_1234", "consumer_type": "INDIVIDUAL", "check_status": "PENDING", "check_reference_id": "chk_1234abcd", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- Mock serverhttps://docs.helix-pay.net/_mock/apis/external.gen/consumers/{consumer_id}
- Production serverhttps://api.helix-pay.net/v1/consumers/{consumer_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.helix-pay.net/_mock/apis/external.gen/consumers/csm_3bbb4fe7-4c25-45b2-a363-c8db8c0084b9 \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
application/json
{ "id": "csm_1234abcd", "merchant_environment_id": "env_1234", "consumer_type": "INDIVIDUAL", "check_status": "PENDING", "check_reference_id": "chk_1234abcd", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- Mock serverhttps://docs.helix-pay.net/_mock/apis/external.gen/health
- Production serverhttps://api.helix-pay.net/v1/health
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.helix-pay.net/_mock/apis/external.gen/health \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
application/json
{ "message": "string" }