Skip to main content
POST
/
v1
/
charge
/
api-key
/
{token}
/
expire
Expire a Charge
curl --request POST \
  --url https://api.hel.io/v1/charge/api-key/{token}/expire \
  --header 'Authorization: Bearer <token>'
Note: When using the production environment at moonpay.hel.io, set your API endpoint to api.hel.io/v1 and generate API keys there. For the development environment, use api.dev.hel.io/v1 and generate API keys from moonpay.dev.hel.io.

Authorizations

Authorization
string
header
required

Authentication using JWT token

Path Parameters

token
string
required

The charge token (e.g. the segment at the end of https://app.hel.io/charge/{token}).

Query Parameters

apiKey
string
required

Your API key, which can be generated from the Helio Dashboard settings page.

Response

The charge was expired successfully. No response body.