Payment Links
Create a new Payment Link
Create a shareable URL for a hosted payment page in one of two ways:
- Payment link without quote — specify the amount, currency, expiry and payment methods inline (PaymentLink).
- Payment link with quote — pass a quote_id from POST /quotes (with resource: payin) to bind the payment link to a quote. When supplied, the quote is the single source of truth for amount, currency, payment method and expiry; the locked fields (amount, currency, expires_at, price_id, payment_methods) must not be sent (CreatePaymentLinkWithQuoteRequest). When a quote_id is supplied, the payment link's expiry is set to the quote's expiry.
The request variant is selected by the presence of quote_id.
post/api/v1/payin
Request
- Base URLhttps://api.crossborder.jiopay.co.in
- URLhttps://api.crossborder.jiopay.co.in/api/v1/payin
- AuthHTTP bearer
Request body
Example request
{
"customer_id": "cust_E602dMzgjpDC",
"document_id": "doc_nYUqLpuYQ0M8",
"currency": "USD",
"amount": 1000,
"purpose_code": "P1401",
"invoice_number": "RG12FF590",
"invoice_description": "Payment requested for services provided",
"reference_number": "R0001",
"expires_at": "2025-02-15T00:00:00.000Z",
"invoice_amount": 1000,
"notify_customer": true,
"reminder_frequency": 7,
"price_id": "price_E602dMzgjpDC",
"notes": {
"invoice_ref": "INV-2026-001",
"project": "Alpha"
},
"bank_account_details": {
"account_number": "1234567890",
"bic_primary": "HDFCINBBDEL",
"bic_secondary": "HDFC0001097",
"bank_customer_id": "7189204715"
}
}Response
Created
Example response
{
"id": "payin_678a4c88hpAjf",
"customer_id": "cust_E602dMzgjpDC",
"document_id": "doc_nYUqLpuYQ0M8",
"currency": "USD",
"amount": 1000,
"purpose_code": "P1401",
"invoice_number": "RG12FF590",
"invoice_description": "Payment requested for services provided",
"reference_number": "R0001",
"expires_at": "2025-02-15T00:00:00.000Z",
"last_reminder_sent_at": "2024-09-13T06:32:34.340Z",
"invoice_amount": 1000,
"payment_link": "https://api.crossborder.jiopay.co.in/v1/payin/pl/8f31597d-e085-497a-b80f-ae97ea9422a0",
"notify_customer": true,
"reminder_frequency": 7,
"price_id": "price_E602dMzgjpDC",
"created_at": "2021-06-01T12:00:00Z",
"updated_at": "2021-06-01T12:00:00Z",
"notes": {
"invoice_ref": "INV-2026-001",
"project": "Alpha"
},
"bank_account_details": {
"account_number": "1234567890",
"bic_primary": "HDFCINBBDEL",
"bic_secondary": "HDFC0001097",
"bank_customer_id": "7189204715"
},
"rfi_documents": [
{
"rfi_doc_id": "rfidoc_123",
"name": "Passport"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.