1. Payments
  • Jokoor API Documentation
  • Getting started
    • Authentication
    • Pagination
    • Quick Start
    • Error Handling
    • Response Format
  • Payments
    • Payment Links
    • Checkouts
    • Payment Status
  • SMS
    • SMS Templates
    • Resending SMS Messages
    • Message Segments
    • SMS Contact Groups
    • SMS Contacts
    • SMS Campaigns
    • Sending SMS Messages
  • Billing
    • Invoices
    • Invoice Payments (Offline/Manual Recording)
    • Receipts
    • Subscriptions
  • Resources
    • Donations
    • Customers
    • Products
    • Transactions
    • Refunds
  • Payouts
    • Payout Requests
    • Bank Accounts
    • Recipient Payouts
    • Payout Recipients
    • Payout Reversals
    • Payout Balance
  • Webhooks
    • Webhook Events
    • Webhook Endpoints
  • APIs
    • Health
      • Health check
    • SMS
      • Send SMS message
      • List SMS messages
      • Get SMS message details
      • Send a draft SMS message
      • Resend failed SMS
      • Batch resend failed messages
    • SMS Templates
      • Create SMS template
      • List SMS templates
      • Get SMS template
      • Update SMS template
      • Delete SMS template
    • SMS Contacts
      • Create contact
      • List contacts
      • Get contact
      • Update contact
      • Delete contact
    • SMS Contact Groups
      • Create contact group
      • List contact groups
      • Get contact group
      • Update contact group
      • Delete contact group
      • Add contacts to group
      • Remove contacts from group
    • SMS Campaigns
      • Create SMS campaign
      • List SMS campaigns
      • Get SMS campaign
      • Update SMS campaign
      • Delete SMS campaign
      • Send SMS campaign
      • Send draft SMS campaign
      • Send campaign asynchronously
      • Get campaign messages
      • Get campaign statistics
      • Resend failed campaign messages
    • SMS Analytics
      • Get segment analytics
      • Preview message segments
    • Checkouts
      • Create checkout session
      • Get checkout session
      • Cancel checkout
    • Payment Links
      • Create payment link
      • List payment links
      • Get payment link
      • Update payment link
      • Delete payment link
    • Invoices
      • Create invoice
      • List invoices
      • Get invoice
      • Update invoice
      • Cancel invoice
      • Finalize draft invoice
      • Send invoice via email
      • Download invoice PDF
      • Record invoice payment
      • List invoice payments
      • Get invoice receipts
    • Receipts
      • List receipts
      • Get receipt by ID
      • Get receipt by number
      • Download receipt PDF
    • Transactions
      • List transactions
      • Get transaction
    • Refunds
      • Refund transaction
      • List refunds
      • Get refund
    • Customers
      • Create or retrieve customer
      • List customers
      • Get customer
      • Update customer
      • Delete customer
    • Products
      • Create product
      • List products
      • Get product
      • Update product
      • Delete product
    • Donations
      • Create donation campaign
      • List donation campaigns
      • Get donation campaign
      • Update donation campaign
      • Delete donation campaign
    • Subscriptions
      • Create subscription
      • List subscriptions
      • Get subscription
      • Update subscription
      • Cancel subscription
      • List subscription invoices
      • Trigger subscription processing
    • Payouts
      • Get payout balance
      • List bank accounts
      • Create payout request
      • List payout requests
      • Get payout request
      • Cancel payout request
    • Payout Recipients
      • Create payout recipient
      • List payout recipients
      • Get payout recipient
      • Update payout recipient
      • Delete payout recipient
      • Send payout to recipient
      • List recipient payouts
      • Get recipient payout
      • Reverse or cancel recipient payout
    • Webhooks
      • Create webhook endpoint
      • List webhook endpoints
      • Get webhook endpoint
      • Update webhook endpoint
      • Delete webhook endpoint
      • Test webhook endpoint
    • Webhook Events
      • List webhook events
      • Get webhook event
      • Retry webhook event
  • Schemas
    • Schemas
      • ErrorResponse
      • HealthResponse
      • SendSMSRequest
      • SMSMessageResponse
      • SMSMessageListResponse
      • BatchResendResponse
      • SMSDashboardResponse
      • SMSPlansListResponse
      • CreateSMSTemplateRequest
      • UpdateSMSTemplateRequest
      • SMSTemplateResponse
      • SMSTemplateListResponse
      • CreateSMSContactRequest
      • UpdateSMSContactRequest
      • SMSContactResponse
      • SMSContactListResponse
      • CreateSMSContactGroupRequest
      • UpdateSMSContactGroupRequest
      • SMSContactGroupResponse
      • SMSContactGroupListResponse
      • CreateSenderIDRequest
      • UpdateSenderIDRequest
      • SenderIDResponse
      • SenderIDListResponse
      • CreateSMSCampaignRequest
      • UpdateSMSCampaignRequest
      • SMSCampaignResponse
      • SMSCampaignListResponse
      • CreateCheckoutRequest
      • CheckoutResponse
      • InitializePaymentRequest
      • InitializePaymentResponse
      • PaymentStatusResponse
      • PaymentSessionResponse
      • CreatePaymentLinkRequest
      • UpdatePaymentLinkRequest
      • PaymentLinkResponse
      • PaymentLinkListResponse
      • CreateInvoiceRequest
      • UpdateInvoiceRequest
      • RecordInvoicePaymentRequest
      • InvoiceResponse
      • InvoiceListResponse
      • InvoicePaymentListResponse
      • InvoiceReceiptInfo
      • Receipt
      • ListReceiptsResponse
      • CreateSubscriptionRequest
      • SubscriptionResponse
      • SubscriptionListResponse
      • UpdateSubscriptionRequest
      • TransactionResponse
      • TransactionListResponse
      • RefundResponse
      • RefundListResponse
      • CreateCustomerRequest
      • UpdateCustomerRequest
      • CustomerResponse
      • CustomerListResponse
      • CreateProductRequest
      • UpdateProductRequest
      • ProductResponse
      • ProductListResponse
      • CreateDonationCampaignRequest
      • UpdateDonationCampaignRequest
      • DonationCampaignResponse
      • DonationCampaignListResponse
      • PayoutBalanceResponse
      • CreateBankAccountRequest
      • BankAccountResponse
      • CreatePayoutRequest
      • PayoutRequestResponse
      • PayoutRequestListResponse
      • CreatePayoutRecipientRequest
      • UpdatePayoutRecipientRequest
      • PayoutRecipientResponse
      • PayoutRecipientListResponse
      • SendRecipientPayoutRequest
      • RecipientPayoutResponse
      • RecipientPayoutListResponse
      • CreateWebhookEndpointRequest
      • UpdateWebhookEndpointRequest
      • WebhookEndpointResponse
      • WebhookEndpointListResponse
      • WebhookEventResponse
      • WebhookEventListResponse
  1. Payments

Payment Links

Create shareable payment links for collecting payments.

Create Payment Link#

Create a new payment link.
Endpoint: POST /v1/pay/payment-links
Authentication: Required
Request Body:
FieldTypeRequiredDescription
titlestringYesPayment link title
descriptionstringNoPayment link description
amountstringYesFixed amount or "0.00" for variable amount
currencystringYesCurrency code (e.g., GMD)
is_variable_amountbooleanNoWhether customers can specify their own amount (default: false)
min_amountstringNoMinimum amount for variable-amount links
max_amountstringNoMaximum amount for variable-amount links
expiration_datestringNoOptional expiration date (ISO 8601)
max_usage_countintegerNoMaximum number of times this link can be used
success_urlstringNoURL to redirect to after successful payment
failure_urlstringNoURL to redirect to after failed payment
collect_customer_infobooleanNoCollect customer information (default: false)
custom_fieldsarrayNoCustom fields to collect from customers
metadataobjectNoCustom metadata (key-value pairs)
Example:
HTTP
TypeScript
Python
Success Response (201):
{
  "data": {
    "id": "pl_abc123",
    "organization_id": "org_xyz789",
    "title": "Product Purchase",
    "description": "Payment for premium product",
    "amount": "500.00",
    "currency": "GMD",
    "is_variable_amount": false,
    "payment_url": "https://pay.jokoor.com/pay/pl_abc123",
    "success_url": "https://example.com/thank-you",
    "failure_url": "https://example.com/payment-failed",
    "status": "active",
    "collect_customer_info": false,
    "usage_count": 0,
    "mode": "test",
    "livemode": false,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}
TIP
Payment URL: The payment_url is the hosted payment page where your customers complete their payment. Share this URL with customers via email, SMS, social media, QR codes, or embed it on your website. The hosted page handles everything - payment method selection, customer info collection, and payment processing.
TIP
Variable Amount Payment Links: Set is_variable_amount: true and optionally set min_amount and max_amount to allow customers to specify their own payment amount within a range.

Get Payment Link#

Get details of a specific payment link.
Endpoint: GET /v1/pay/payment-links/{id}
Authentication: Required
Example:
HTTP
TypeScript
Python
Success Response (200):
{
  "data": {
    "id": "pl_abc123",
    "organization_id": "org_xyz789",
    "title": "Product Purchase",
    "description": "Payment for premium product",
    "amount": "500.00",
    "currency": "GMD",
    "is_variable_amount": false,
    "min_amount": null,
    "max_amount": null,
    "expiration_date": null,
    "max_usage_count": null,
    "usage_count": 5,
    "payment_url": "https://pay.jokoor.com/pay/pl_abc123",
    "success_url": "https://example.com/thank-you",
    "failure_url": "https://example.com/payment-failed",
    "status": "active",
    "collect_customer_info": false,
    "custom_fields": [],
    "metadata": {},
    "mode": "test",
    "livemode": false,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}

List Payment Links#

Get a paginated list of payment links.
Endpoint: GET /v1/pay/payment-links
Authentication: Required
Query Parameters:
ParameterTypeRequiredDescription
offsetintegerNoNumber of items to skip (default: 0)
limitintegerNoMaximum number of items to return (default: 20, max: 100)
statusstringNoFilter by status (active, inactive)
Example:
HTTP
TypeScript
Python
Success Response (200):
{
  "data": {
    "items": [
      {
        "id": "pl_abc123",
        "title": "Product Purchase",
        "amount": "500.00",
        "currency": "GMD",
        "payment_url": "https://pay.jokoor.com/pay/pl_abc123",
        "status": "active",
        "usage_count": 5,
        "livemode": false,
        "created_at": "2024-01-15T10:30:00Z"
      }
    ],
    "count": 1,
    "offset": 0,
    "limit": 20
  }
}

Update Payment Link#

Update an existing payment link.
Endpoint: PUT /v1/pay/payment-links/{id}
Authentication: Required
Request Body:
FieldTypeRequiredDescription
titlestringNoPayment link title
descriptionstringNoPayment link description
expiration_datestringNoExpiration date (ISO 8601)
max_usage_countintegerNoMaximum number of uses
success_urlstringNoSuccess redirect URL
failure_urlstringNoFailure redirect URL
statusstringNoStatus (active, inactive)
collect_customer_infobooleanNoWhether to collect customer information
custom_fieldsarrayNoCustom fields to collect
metadataobjectNoCustom metadata
Example:
HTTP
TypeScript
Python
Success Response (200):
{
  "data": {
    "id": "pl_abc123",
    "title": "Updated Product Purchase",
    "status": "inactive",
    "updated_at": "2024-01-15T11:00:00Z"
  }
}

Delete Payment Link#

Delete a payment link.
Endpoint: DELETE /v1/pay/payment-links/{id}
Authentication: Required
Example:
HTTP
TypeScript
Python
Success Response (204): No content
Modified at 2025-11-15 15:43:35
Previous
Response Format
Next
Checkouts
Built with