The
/payment-request/{id}/decline
endpoint declines a specific payment request.
Method:PATCH
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the payment request |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ā | Payment Request ID |
Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
reason | string | ā | Optional reason for the decline |
Responses
ā 200 - Success
ā ļø 401 - Unauthorized
ā ļø 404 - Not Found
ā 500 - Internal Server Error
Tags
Payment Requests
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Payment Request ID
Body
application/json
Optional reason for the decline