delete-leftCancel an enrollment

Cancel an Enrollment

delete

This endpoint allows you to cancel an existing enrollment.

This uses the same API credentials as the deposit endpoint.

Path parameters
enrollment_idintegerRequired

OKP enrollment_id. It is obtained when creating a new enrollment.

Header parameters
X-LoginstringRequired

Merchant X-Login API Key.

X-DatestringRequired

ISO8601 Datetime with Timezone: yyyy-MM-dd'T'HH:mm:ssZ

AuthorizationstringRequired

Authorization control hash.

X-Idempotency-KeystringRequired

Unique idempotency key.

Content-TypestringRequired

Content type of the request.

Default: application/json
Responses
chevron-right
200

Enrollment cancelled successfully.

application/json
enrollment_idintegerOptional

The ID of the cancelled enrollment.

Example: 36
statusstringOptional

The new status of the enrollment.

Example: CANCELLED
delete
/v3/enrollments/{enrollment_id}/
200

Enrollment cancelled successfully.

Last updated

Was this helpful?