Skip to main content
Accept PayJustNow payments from customers in South Africa with PayJustNow as the payment service provider (PSP). The customer selects PayJustNow, signs in and confirms the payment on the PayJustNow page, and returns to your site.

Supported workflows

WorkflowSupported
Payrails SDK✔
Payrails API✔
Delayed / Manual Capture✖
Instant Capture✔
Cancel / Void✖
Refund / Reverse✔
Save Instruments✖
Merchant Initiated Transaction (MIT)✖

Before you begin

Complete these steps before you send your first payment through PayJustNow:
  1. Set up a PayJustNow integration in your workspace with your PayJustNow merchant account ID and secret signing key. Follow the PayJustNow integration setup guide. Payrails signs its requests and verifies PayJustNow notifications with the signing key.
  2. In the Payrails Portal, go to Settings → Integrations, open your PayJustNow integration, select Payjustnow under Payment methods, and save.
  3. Add PayJustNow as a payment option in your workflow.
To test payments before you go live, ask your Payrails account team or PayJustNow for a PayJustNow test account.

Request fields for PayJustNow

Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.

Authorize a PayJustNow payment

Call authorize a payment with payjustnow as the paymentMethodCode and hpp as the integrationType. The response includes the redirect to the PayJustNow page.
Authorize request
After the customer confirms the payment, PayJustNow returns them to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How PayJustNow handles PayJustNow payments

  • Payrails sends the payment amount to PayJustNow in cents, and your merchantReference as the merchant order reference.
  • PayJustNow notifies Payrails of each status change. When PayJustNow reports the payment as paid, Payrails records the authorization and the capture together.
  • If the customer cancels on the PayJustNow page, Payrails records the payment as canceled by the customer.
  • Refunds work for the full amount or part of it. PayJustNow confirms each refund with a notification.
Last modified on November 13, 2026