Onerway
API Reference

API specifications

Review common Embedded Finance API request headers, response structure, currency, and response codes.

Read the common rules on this page before integrating Embedded Finance APIs.

Request headers

HeaderTypeRequiredDescription
Content-TypeStringYesFollow the endpoint requirement: use application/json for JSON requests and multipart/form-data for file uploads.
apiKeyStringYesMerchant identity credential assigned by Onerway for Embedded Finance API access.

Response structure

FieldTypeDescription
respCodeStringResponse code. 20000 means the request was processed successfully.
respMsgStringResponse message.
dataObject / ArrayBusiness data.

Currency

Currency values use the ISO 4217 international standard.

Response codes

CodeDescription
20000Success.
40000Parameter error.