Skip to main content

Integration flow

Authentication, Quotation, Payout and Transaction Enquiry are the constant core of every integration. What happens between them depends on the customer and the transaction type.

One point is worth stating up front: a quotation does not require a registered customer. You can price a transaction first and resolve registration afterwards.

The integration sequence

01Core transaction API

Authentication

Obtain the access token; send it as Authorization: Bearer <access_token> on every later call.

02Core transaction API

Quotation

Price the transaction. The customer does not need to be registered first: pass an existing customerCode, or send it blank.

Registered customer

Send the existing RHUB customer code in customerCode.

Unregistered customer

Send customerCode as an empty value. Registration happens later.

03Preparation

Document Upload

Upload the KYC/KYB documentation payout requires, and invoice documentation for B2B, B2C and C2B.

04Conditional / decision

Customer registration decision

Resolve the customer before payout — not before the quotation.

Already registered

Continue with the customer code you hold.

Not registered

Register with the Customer Registration API, or use on-the-fly registration in the Payout request.

05Preparation / reference

Bank List

Fetch the beneficiary bank information the payout route requires.

06Preparation / reference

Master / reference data

Fetch the master and reference values required by the selected transaction type, route and payout payload.

07Core transaction API

Payout

Submit the payout request.

08Core transaction API

Transaction Enquiry

Retrieve the state of the transaction.

09Final / supporting

Balance

The final API in the documented sequence; may be used to retrieve the current balance.

What is core, what is conditional, what is supporting

CategoryAPIsWhen
Core transaction APIsAuthentication, Quotation, Payout, Transaction EnquiryEvery payout
Conditional preparationDocument Upload, Customer RegistrationDepends on the customer and the transaction type
Preparation / referenceBank List, other master APIs, currency and country validationsAs the route and payload require
Final / supportingBalanceThe final API in the documented sequence

Supporting capabilities