Skip to main content

Close Account

DELETE 

/accounts/:customerAccountId

This endpoint closes an account. It enables closing an existing account, created previously through a checkout API call, under the provided customerAccountId input parameter.

Request

Path Parameters

    customerAccountId stringrequired

    Possible values: <= 255 characters

    Customer identifier

Header Parameters

    Content-Type stringrequired

    Must be application/json

    Accept-Language stringrequired

    Must be be en-US

    Origin stringrequired

    The origin of the request

    User-Agent stringrequired

    The client making the request

Body

required

    merchantKey uuidrequired

    Possible values: <= 36 characters

    The unique identifier for the merchant.

    closingReason stringrequired

    Possible values: <= 255 characters

    The reason why the account is being closed.

Responses

Successful response

Schema

    responseDescription stringrequired

    Response description.

    closingDate daterequired

    The request closing date.

    closingTime stringrequired

    Possible values: Value must match regular expression ^([01]\d|2[0-3])[0-5]\d[0-5]\d$

    The request closing time in HHMMSS format.

Loading...