Create Charge

📘

Introduction

The AstimPay Create Charge API allows you to initiate a payment. After a successful payment, an invoiceid will be sent via GET or POST request to your specified redirect_url. To obtain payment data, you'll need to call the Verify Payment API

Request URL

To create a payment request, use the following API endpoint:

{base_URL}/api/checkout-v1

Replace {base_URL} with the location of your AstimPay installation, such as https://pay.your-domain.com.

Request Headers

Include the following request header:

API-KEY (required): Your API key. For the sandbox environment, use the provided key:

4a59f023cbc02521417f21a0add4e028febb2ca8
Language
Credentials
Header
Click Try It! to start a request and see the response here!