POST
Match deposit
Use this endpoint to match a deposit transaction. The result will be reported through the Deposit matching result webhook. If additional documents are required, you will receive a Deposit matching information request webhook and must respond through the Deposit RFI additional materials endpoint.
Request
apiKeyAPI key assigned for Embedded Finance API access.
Example:
replace_with_api_keyContent-TypeRequest content type.
Example:
application/jsonuserIdID of the user associated with the deposit.
Example:
12345678rechargeIdRecharge ID to match with the deposit.
Example:
2098358000329sourceOrderNoMerchant order number.
Example:
example_order_001Constraints
- Range
64characters
curl -X POST 'https://sandbox-baas.onerway.com/embedded-finance/api/v2/deposit/match' \
-H 'apiKey: replace_with_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"userId": 12345678,
"rechargeId": 2098358000329,
"sourceOrderNo": "example_order_001"
}'Response
respCodeResponse code returned by Onerway.
20000 indicates that the request succeeded.Example:
20000respMsgHuman-readable response message.
Example:
Successdata{ merchantNo, userId, ... }Deposit matching status returned for a successful request.
{
"respCode": "20000",
"respMsg": "Success",
"data": {
"merchantNo": "800***",
"userId": 12345678,
"status": "S"
}
}No error responses are documented for this endpoint.