Skip to main content
POST
/
v3
/
collection_account
/
{id}
/
{req_id}
/
cancel
Cancel Collection Account Request
curl --request POST \
  --url https://service-sandbox.tazapay.com/v3/collection_account/{id}/{req_id}/cancel \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "req_abc123",
  "object": "collection_account_request",
  "collection_account_id": "cva_crqinja9chqqs7moi8rg",
  "type": "enablement",
  "status": "cancelled",
  "created_at": "2024-09-26T09:39:25.03501Z",
  "updated_at": "2024-09-26T09:41:43.349835Z",
  "status_description": "Request cancelled by merchant."
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Unique ID of the collection account.

req_id
string
required

Unique ID of the request to cancel.

Response

200 - application/json

Collection account request cancelled successfully.

An enablement, disablement, or reenablement request attached to a collection account.

id
string

Unique ID of the request.

object
string

Always "collection_account_request".

collection_account_id
string

ID of the linked collection account.

type
enum<string>

Type of request.

Available options:
enablement,
disablement,
reenablement
status
enum<string>

Current status of the request.

Available options:
processing,
approval_hold,
requires_action,
succeeded,
failed,
cancelled
requested_currencies
string[]

Currencies requested for enablement (present on enablement requests).

created_at
string<date-time>

Timestamp when the request was created.

updated_at
string<date-time>

Timestamp when the request was last updated.

status_description
string

Description of the current status or failure reason.