KuvarPay API
Home
Home
    • Overview
    • SDK Integration Guide
    • Webhooks Integration Guide
    • Subscriptions Guide
    • Transactions
      • Calculate Payment Amount
        POST
      • Create Transaction
        POST
      • Get Transactions Details
        GET
      • Get Transactions
        GET
      • Update Status
        PATCH
      • Get Transaction Status by Reference
        GET
      • Simulate payment for sandbox transactions
        POST
      • Get detailed payment status for a transaction
        GET
      • Manually trigger refund for excess payment
        POST
      • Get list of expired transactions
        GET
    • Checkout Sessions
      • Arm Checkout Session
        PATCH
      • Payment Status Webhook
        POST
      • Cleanup Expired Sessions
        POST
      • Create Checkout Session
        POST
      • Get Checkout Session
        GET
      • Update Checkout Session
        PATCH
    • Transfer Fees
      • /api/v1/optimal-transfer-fee
    • Sandbox Simulator
      • Force Simulator Scenario
      • Force Transaction Status
    • Invoices
      • Create a new invoice
      • Send invoice email to customer
    • Payment Links
      • Create a new payment link
    • Server-Sent Events (SSE)
      • Get Transaction Details
      • Get Session Details
    • Subscriptions
      • Create Plans
      • Get Plans
      • Get Plans Details
      • Update Plans Details
      • Create Prices
      • Get Prices
      • Update Prices Details
      • Create Checkout Sessions
      • Get Checkout Sessions Details
      • Confirm Subscription Checkout
      • Create Subscriptions
      • Get Subscriptions
      • Get Subscriptions Details
      • Update Subscriptions Details
      • Delete Subscriptions Details
      • Renew Subscription
      • Confirm Subscription Cancellation
      • Create Subscription Invoices
      • Upgrade Subscription
      • Get Subscription Invoices
      • Downgrade Subscription
      • Create Metered Invoices
      • Renew Subscription Authorization
      • Get Subscription Invoices Details
      • Get Charge Attempts
      • Create Authorizations
      • Revoke Relay Authorization
      • Get Relay Authorization Status
    • Currencies
      • Get Subscription Currencies
      • Get Supported Currencies
      • Get networks supported for subscription payments
      • Get Currencies
      • Get all supported networks
    • Schemas
      • ErrorResponse
      • CreateInvoiceRequest
      • CreatePaymentLinkRequest
      • InvoiceResponse
      • PaymentLinkResponse
      • CreateInvoiceResponse
      • CreatePaymentLinkResponse
      • SendInvoiceEmailRequest
      • SendInvoiceEmailResponse
      • SubscriptionInvoice

    CreatePaymentLinkResponse

    {
        "success": true,
        "data": {
            "id": "pl_123456",
            "businessId": "biz_123",
            "title": "Product Purchase",
            "description": "Payment for premium subscription",
            "slug": "premium-subscription",
            "amount": "25000",
            "currency": "NGN",
            "status": "ACTIVE",
            "paymentUrl": "https://payment.rayswap.exchange/pay/premium-subscription",
            "isActive": true,
            "transactionCount": 0,
            "expiresAt": "2025-12-31T23:59:59Z",
            "createdAt": "2025-01-01T12:00:00Z",
            "updatedAt": "2025-01-01T12:00:00Z"
        },
        "message": "Payment link created successfully"
    }
    Built with