Skip to main content
Run through this list with your test credentials. When every item passes, request production credentials and switch over.
  • Compute X-Data-Hash correctly as sha512(requestBody + secretKey)
  • Send required X-Data-Application-Id and a correct X-Data-Hash; if testing replay proof, send both X-Data-Timestamp and X-Data-Nonce
  • Verify gateway.ping returns a successful response
  • Confirm your key has the scopes for every method you call — a missing scope returns 3000, like a bad signature (Key scopes)
  • Store credentials securely (environment variables, not hardcoded)
  • Create deposit payments (payment.in) successfully
  • Create withdrawal payments (payment.out) successfully
  • Handle error responses gracefully (check success field)
  • Store h_id from response for subsequent status queries
  • Send unique c_id per payment to avoid duplicates (error 6009)
  • After a create rejected during processing (9000 without details, 6004, 6005, 6006, 6035, 7001, 2001), send the corrected request with a new c_id (Idempotency)
  • Send the first and last name in separate fields: person.first_name and person.last_name
  • Retrieve payment status using payment.status with h_id
  • Handle all status values: created, processing, success, error, canceled, declined, refunded, partially_refunded
  • Check the final field to determine if a payment has reached a terminal state
  • Check the success field to determine if a final payment was successful
  • Receive webhook notifications
  • Verify webhook signatures
  • Handle payment completion events
  • Handle payment failure events
  • Process events idempotently
  • Success returns HTTP 200; errors usually return HTTP 400 (some use 403/404/409/429/5xx) — always check success field
  • Handle error code 3000 (authentication error / invalid signature)
  • Handle error code 3003 (application not found)
  • Handle error code 2002 (no route available)
  • Handle error code 6004 (insufficient funds for withdrawals)
  • Handle error code 1005 (missing or invalid fields)
  • On network timeouts and 5xx, query payment.status with the same c_id first; retry the create with that c_id only if it returns 6010
  • Send amounts as integers in minor units of the currency (BIF has no decimals)
  • Validate amounts against the limits of each service_id — out-of-limit amounts return 9000 without details
  • Reconcile with the amount in the webhook: on some routes the paid amount can differ from the requested one
  • Send the country-specific fields listed on your country page
  • Show the payer what the response returns: page, bank details, QR or instruction (Deposit flow types)
  • Store full recipient details of withdrawals — payment.status and webhooks do not return receiver.bank or custom_fields
  • Go through the “Things to know” section of your country page
  • Check balance using balance.get before withdrawals
  • Handle insufficient funds errors (error code 6004)

Switch to production

1

Complete Testing

Ensure all checklist items pass with the test credentials and routes assigned to your account
2

Request Production Credentials

Contact your 123hub account manager or support@123hub.pro to request production application_id and secret_key
3

Update Configuration

Replace test application_id and secret_key with production credentials in your production environment
4

Update Webhook URLs

Ensure webhooks point to your production server
5

Monitor

Watch the dashboard for your first live transactions
Never use production credentials in development or testing environments. Always keep test and production credentials separate.
Requests from servers outside your application’s IP allowlist are rejected with 3006. Send your production server IPs to your account manager before the switch.