Skip to main content
POST
/
virtual-accounts
/
admin
/
transactions
/
{transaction_id}
/
reject
Reject pending withdrawal
curl --request POST \
  --url https://api.pcxpay.com/v1/virtual-accounts/admin/transactions/{transaction_id}/reject \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transaction_id
string
required

Body

application/json
reason
string

Human-readable rejection reason

Response

Withdrawal rejected

status
enum<string>
Available options:
success,
error
Example:

"success"

message
string
Example:

"Operation completed successfully"

data
object