Onerway
POST

Submit Ethoca enrollment

Use this endpoint to submit an Ethoca alert-service enrollment application and receive the application ID for later status queries or transitions.

Request

merchantNo
Merchant number assigned by Onerway. When an agency operator submits the application for a sub-merchant, use the agency operator merchant number.
Example:
preDisputeService
Alert service type to enroll.
Example:
Allowed values
ETHOCA_ALERT
Ethoca alert service. Ethoca is a Mastercard-owned alert network covering Mastercard, American Express, Discover, and, in some regions, Visa.
Constraints
Values
Submit ETHOCA_ALERT for this endpoint.
billDesc
Merchant billing descriptor shown on the cardholder bank statement. Use the actual merchant trading name and keep it consistent with the acquirer-facing billing descriptor so cardholders and issuers can recognize the transaction and Ethoca can match alerts to the merchant.
Example:
resellerSubMerchantId
Condition: Provide this field when an agency operator applies for a managed sub-merchant.
Sub-merchant identifier assigned by the agency operator.
Example:
Constraints
Consistency
The same agency operator merchantNo can enroll multiple sub-merchants. Assign a unique resellerSubMerchantId to each sub-merchant.
notes
Application note for special requirements or supplementary information.
Example:
sign
Request signature string. See Request signing for how to generate it.

Request example

curl -X POST 'https://sandbox-acq.onerway.com/ethoca/agency-cw/enrollment/submit' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "billDesc": "EXAMPLE STORE US",
  "merchantNo": "replace_with_merchant_no",
  "notes": "Open Ethoca alert service",
  "preDisputeService": "ETHOCA_ALERT",
  "resellerSubMerchantId": "demo_sub_merchant_001",
  "sign": "{{SIGN}}"
}'

Response

respCode
20000 means the enrollment application was submitted and accepted for processing. It does not mean the service has been enabled. Confirm the final state through Query Ethoca enrollments or the Ethoca enrollment status webhook. Other values are error codes. See Response codes.
respMsg
Human-readable message for the response code.
Business data object containing the enrollment application ID.

Response example

Example code is unavailable.

No error responses are documented for this endpoint.