Payment Initiation

The Payment Initiation API generates checkout payment links that redirect end users to complete bank-based payments. The API validates the transaction details, creates a pending transaction record, and mints a secure checkout link. All endpoints use the /api/v1/checkout base path.

Endpoints

MethodEndpointDescription
POST/api/v1/checkout/paylinkGenerate a checkout payment link for a new transaction

Payment Flow

  1. Generate link — Call POST /paylink with the transaction amount, currency, user ID, and project ID. A transaction is created in pending status and a checkout URL is returned.
  2. Redirect user — Direct the end user to the returned checkout URL. The user selects their bank and authorizes the payment.
  3. Payment processing — Processes the bank payment. The transaction status moves from pending to processing.
  4. Completion — Once the bank confirms the payment, the status updates to success or failed. The user is redirected to the project's configured payment_return_url.
  5. Webhook notification — A payment.status_changed webhook event is sent for each status transition.

Related APIs

APIUsage
TransactionsQuery transaction status via GET /api/v1/transactions/{transaction_id} or force a status refresh via POST /refresh-status
KYC VerificationNot required to generate a payment link — verification state is informational only, and it's your own compliance policy whether to check it before taking payment
ProjectsEach payment link is scoped to a project, which defines the callback URL and associated operation company

Prerequisites

Before generating a payment link, ensure:

  1. Your callback URL is configured — PUT /auth/client/settings
  2. Your OpCo is activated — the project's OpCo must have status: activated
  3. The user or business customer exists under your client — verification status is not checked by this endpoint
  4. Payment link generation is enabled for your client

Required roles

OWNER or OPERATIONS — DEVELOPER role cannot generate payment links. An API credential can generate payment links only if it was created with the OWNER or OPERATIONS role. See Roles and Permissions.

Related guides