POST
Update RDR enrollment status
Use this endpoint to request an RDR enrollment status transition, such as submitting a pending application, withdrawing a pending application, disabling an enrolled service, or resubmitting after a failed review.
Request
merchantNoMerchant number assigned by Onerway. It limits the transition to applications under one merchant account.
Example:
replace_with_merchant_noidEnrollment application ID identifying the RDR service application to transition.
Example:
replace_with_enrollment_idbinCondition: You can provide this field when resubmitting or supplementing application information.
Acquirer BIN (Bank Identification Number), identifying the institution that provides acquiring services to the merchant.dbaCondition: You can provide this field when resubmitting or supplementing application information.
Merchant doing-business-as name.caidCondition: You can provide this field when resubmitting or supplementing application information.
Card Acceptor ID (CAID).mccCondition: You can provide this field when resubmitting or supplementing application information.
Merchant Category Code (MCC).arnCondition: You can provide this field when resubmitting or supplementing application information.
Acquirer Reference Number (ARN).resellerSubMerchantIdCondition: Provide this field when an agency operator transitions a sub-merchant application.
Sub-merchant identifier assigned by the agency operator.enrollmentStatusExpected current enrollment status. If provided, it must match the current status of the application. If omitted, Onerway uses the current status stored for the application. The event determines the next status.
Allowed values
PENDING_SUBMISSION- Pending submission. The application has been created but has not been submitted for review.
SUBMITTED_AND_PENDING_ENROLLMENT- Submitted and pending enrollment. The application has been submitted and is waiting for review and enrollment processing.
ENROLLING- Enrolling. The application passed review and service enrollment configuration is in progress.
Constraints
- Rule
- Only the state and event combinations described in
enrollmentEventare supported. Merchant transitions are unavailable while the status isENROLLINGorDISENROLLING. - Rule
- When submitting from
PENDING_SUBMISSIONorENROLLMENT_FAILED, the application must containbin,caid,mcc, anddba.
enrollmentEventEnrollment status transition event, expressing the action requested by this call.
Example:
MERCHANT_SUBMITAllowed values
MERCHANT_SUBMIT- Submit an enrollment application from
PENDING_SUBMISSION,ENROLLMENT_FAILED, orDISENROLLED; the next status isSUBMITTED_AND_PENDING_ENROLLMENT. FromENROLLED, submit a request to close the service; the next status isSUBMITTED_AND_PENDING_DISENROLLMENT. MERCHANT_WITHDRAW- Withdraw an enrollment request from
SUBMITTED_AND_PENDING_ENROLLMENT, returning it toPENDING_SUBMISSION; or withdraw a closure request fromSUBMITTED_AND_PENDING_DISENROLLMENT, returning it toENROLLED.
notesStatus transition note for the requested action, including withdrawal reasons, resubmission explanations, or supplementary material descriptions.
Example:
Updated RDR application detailscommentsReview comment field. Leave it empty for merchant-submitted transitions; use
notes for supplementary information.Constraints
- Rule
- Leave this field empty for merchant-submitted transitions. Use
notesfor supplementary information.
signRequest signature string. See Request signing for how to generate it.
curl -X POST 'https://sandbox-acq.onerway.com/rdr/agency-cw/enrollment/transition' \
-H 'Content-Type: application/json' \
--data-raw '{
"merchantNo": "replace_with_merchant_no",
"id": "replace_with_enrollment_id",
"enrollmentStatus": "ENROLLMENT_FAILED",
"enrollmentEvent": "MERCHANT_SUBMIT",
"bin": "replace_with_acquirer_bin",
"caid": "demo_card_acceptor_id",
"mcc": "5999",
"dba": "EXAMPLE STORE",
"notes": "Updated application details",
"sign": "{{SIGN}}"
}'Response
respCode20000 means the transition request was processed successfully. Other values are error codes. See Response codes.respMsgHuman-readable message for the response code.
data{ success, sign }Business data object indicating whether this status transition request was accepted and executed by the system.
Response example
Example code is unavailable.
No error responses are documented for this endpoint.