Integration flow

Onerway Issuing API integration flow covering preparation, environment configuration, card creation, transaction queries, and event webhooks.

Integration preparation

Before integrating with the Onerway Issuing API, merchants need to complete merchant activation, environment configuration, and API credential preparation. Complete integration testing and business validation in the sandbox environment first, then switch to production after the flow is stable.

Preparation itemDescription
Merchant informationObtain the merchant ID, API credentials, and keys used for request signing or signature verification.
Request source IPProvide the fixed outbound IP used to call the API so it can be added to the API access allowlist.
Event receiving URLConfigure the callback URL used to receive card operation, transaction, and other event notifications.
Business parametersConfirm available card products, settlement currency, card network, cardholder information requirements, and card usage rules.

Environment information

Onerway provides sandbox and production environments. The API paths are the same in both environments; only the request domain is different.

EnvironmentEndpointUse case
Sandboxhttps://sandbox-issuer.onerway.com/api/v1/merchantAPI development, integration testing, and flow validation
Productionhttps://issuer.onerway.com/api/v1/merchantLive business transactions and production operations

Integration steps

StepActionDescription
1Complete merchant and environment configurationObtain the merchant ID and API credentials, and configure the IP allowlist and event receiving URL.
2Get card productsSelect an available card product based on the business scenario, and confirm the card network, currency, applicable rules, and related information.
3Create a cardholderSubmit the basic cardholder information and obtain cardholderId after creation.
4Create a cardUse the card product and cardholder information to create a card, and configure the initial amount or related rules according to product requirements.
5Query card informationQuery card basic information, status, balance, and required sensitive information.
6Process transactions and eventsQuery transaction records and receive card operation, transaction, and other event notifications.

Flow overview