✨Create Payment
In this section, you’ll learn how to create a payment link using the PayRam API for customers to make payments easily.

URL Details
Parameter
Description
Example
API Endpoint
Endpoint to create a new payment link.
/api/v1/payment
Headers
Header
Description
Example
API-Key
Your unique PayRam API key generated from your dashboard.
811b12035f0dfa8ffd62296df3c98b27
Content-Type
Format of the request data.
application/json
Request Body
Field
Description
Example
customerID
Unique identifier for the customer.
1
amountInUSD
The payment amount in USD.
10
curl request
Before running the command, replace the placeholders with your actual details:
${BASE_URL} → Your PayRam server URL
<your_api_key> → Your PayRam API key
Replace the request body fields with real customer data