• 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

    Jokoor API Documentation

    Complete API reference for the Jokoor platform - SMS messaging, payments, billing, payouts, and webhooks.
    Base URL: https://api.jokoor.com/v1
    Version: 1.0.0
    Last Updated: 2024-01-15

    Overview#

    Welcome to the Jokoor API documentation. This comprehensive guide covers all aspects of integrating with the Jokoor platform for SMS messaging, payment processing, invoicing, subscriptions, payouts, and webhooks.

    Documentation Structure#

    The documentation is organized into focused topic areas:

    ๐Ÿ“˜ Getting Started#

    Essential information for working with the Jokoor API:
    Authentication - API keys, test vs live mode
    Response Format - Standard response structure
    Error Handling - Error codes and handling
    Pagination - Offset/limit pattern
    Quick Start - Get started quickly
    Key Concepts:
    Secret keys (sk_*) for server-side operations
    Publishable keys (pk_*) for client-side operations
    Test vs Live mode restrictions
    โš ๏ธ SMS requires live keys only

    ๐Ÿ“ฑ SMS#

    Core SMS messaging and resource management:
    Sending Messages - Send single or bulk SMS
    Templates - Reusable message templates with variables
    Contacts - Manage contact lists
    Contact Groups - Organize contacts
    Sender IDs - Custom sender ID management
    Campaigns - Bulk messaging campaigns
    Message Segments - Character count and encoding
    Resending - Resend failed messages
    Features:
    Schedule messages for future delivery
    Template variable substitution
    Character count and encoding detection
    Message status tracking
    Draft management

    ๐Ÿ’ณ Payments#

    Payment processing with hosted pages and custom integrations:
    Payment Links - Shareable payment links (hosted pages)
    Checkouts - Flexible checkout sessions (hosted OR embedded)
    Initialize Payment - Embedded checkout integration
    Payment Status - Check payment status
    Features:
    Hosted payment pages (no coding required)
    Custom SDK integration (full UI control)
    Progressive payment enrichment
    Multiple payment methods (Wave, Afrimoney, Card, QMoney)
    Redirect URLs for success/failure
    Metadata for custom tracking

    ๐Ÿงพ Billing#

    Invoices, receipts, and recurring subscriptions:
    Invoices - Create and manage invoices
    Invoice Payments - Record offline/manual payments (cash, bank transfers, etc.)
    Receipts - Automatic receipt generation
    Subscriptions - Recurring billing
    Features:
    Automatic tax calculation
    PDF generation and email delivery
    Online payments via hosted page
    Offline payment recording (cash, bank transfers)
    Partial payment support
    Multiple billing intervals
    Receipt validation codes

    ๐Ÿ›’ Resources#

    Supporting resources for payments and billing:
    Customers - Customer management
    Products - Product catalog
    Transactions - Transaction history
    Refunds - Process refunds
    Donations - Fundraising campaigns

    ๐Ÿ’ฐ Payouts & Webhooks#

    Withdraw funds and receive event notifications:
    Payout Balance - Check available balance
    Bank Accounts - List bank accounts (read-only)
    Payout Requests - Request withdrawals
    Payout Recipients - Manage Wave B2P recipients
    Recipient Payouts - Send Wave B2P transfers
    Payout Reversals - Reverse completed payouts (48-hour window)
    Webhook Endpoints - Configure webhooks
    Webhook Events - View and retry events
    Important Notes:
    โš ๏ธ Bank account management requires OTP (web dashboard only)
    โš ๏ธ Payout reversals must be within 48 hours
    โš ๏ธ Webhook secrets shown only on creation

    SDK Installation#

    TypeScript/JavaScript
    Python

    Quick Start Examples#

    Send an SMS Message#

    HTTP
    TypeScript
    Python

    Accept a Payment#

    HTTP
    TypeScript
    Python

    Key Features by Use Case#

    For SMS Messaging#

    โœ… Send single or bulk SMS messages
    โœ… Schedule messages for future delivery
    โœ… Use templates with variables
    โœ… Manage contact lists and groups
    โœ… Track delivery status
    โœ… Custom sender IDs
    โš ๏ธ Requires live API key

    For Payment Processing#

    โœ… Multiple payment methods (Wave, Afrimoney, Card, QMoney)
    โœ… Payment links (shareable URLs)
    โœ… Checkouts (embedded flows)
    โœ… Progressive enrichment (collect info step-by-step)
    โœ… Test mode for development
    โœ… Webhooks for real-time notifications

    For Invoicing & Billing#

    โœ… Professional PDF invoices
    โœ… Automatic tax calculation
    โœ… Email delivery
    โœ… Partial payment tracking
    โœ… Automatic receipt generation
    โœ… Recurring subscriptions
    โœ… Flexible billing intervals

    For Payouts#

    โœ… Bank account withdrawals
    โœ… Wave B2P transfers
    โœ… Payout recipient management
    โœ… Balance tracking
    โœ… 48-hour reversal window

    Important Restrictions#

    SMS Requirements#

    โš ๏ธ SMS only works with live API keys (sk_live_*)
    Test keys cannot send SMS messages
    All other APIs support both test and live modes

    OTP-Protected Operations#

    The following operations require OTP verification via the web dashboard and are not accessible via API keys:
    Creating/updating/deleting bank accounts
    Creating payout requests to bank accounts
    Setting default bank accounts

    Time-Limited Operations#

    Payout reversals: 48 hours from completion
    Payment refunds: No time limit (subject to provider policies)

    Security Requirements#

    Webhook endpoints must use HTTPS
    Webhook secrets are shown only once during creation
    Always verify webhook signatures

    Rate Limits#

    Generous rate limits designed to support high-traffic production use. All limits are per organization.

    Payment Operations#

    Payment Initialization: 5,000 requests per minute (~83/second)
    Checkout Creation: 5,000 requests per minute (~83/second)
    Checkout Processing: 5,000 requests per minute (~83/second)
    Payment CRUD: 5,000 requests per minute

    SMS Operations#

    SMS Sending: 1,000 messages per minute (~16/second)
    SMS CRUD: 2,000 requests per minute (~33/second) - Contacts, templates, groups, etc.
    Campaign Sending: 500 campaigns per minute (~8/second)
    Note: SMS is also limited by credit balance.

    Payout Operations#

    Payout Requests: 1,000 requests per day
    Bank Account Operations: 100 requests per hour
    Note: Payout limits are conservative for financial security.

    Rate Limit Headers#

    All API responses include rate limit information:
    X-RateLimit-Limit: 5000
    X-RateLimit-Remaining: 4999
    X-RateLimit-Reset: 1234567890
    Retry-After: 60  (when rate limited)
    Need higher limits? Contact support for enterprise plans.

    Support & Resources#

    API Documentation: https://docs.jokoor.com
    Support Email: hello@jokoor.com

    Ready to get started? Explore the documentation sections in Apidog to learn about specific API endpoints and features.
    Modified atย 2025-11-16 23:53:26
    Next
    Authentication
    Built with