API Reference

Create a new payment link

post

Generate a new payment link for receiving payments

Authorizations
x-api-keystringRequired

API key for authentication. Get your API key from the KiraPay dashboard.

Body
currencystringRequired

Currency symbol for the payment

Example: USDC
receiverstringRequired

Wallet address to receive the payment

Example: 0x1234567890abcdef1234567890abcdef12345678
pricenumberRequired

Payment amount

Example: 100
namestringRequired

Name or description of the payment link

Example: Product Payment
redirectUrlstring · uriOptional

Optional URL to redirect after successful payment

Example: https://example.com/success
Responses
200

Payment link created successfully

application/json
post
/link/generate
POST /api/link/generate HTTP/1.1
Host: kirapay-api.holatech.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 156

{
  "currency": "USDC",
  "receiver": "0x1234567890abcdef1234567890abcdef12345678",
  "price": 100,
  "name": "Product Payment",
  "redirectUrl": "https://example.com/success"
}
{
  "message": "Payment link created successfully",
  "data": {
    "url": "https://kirapay.focalfossa.site/pay/ABC123"
  }
}

Last updated

Was this helpful?