Skip to content

Suggested

API Dashboard

RecipesHandle payment review

Handle payment review

Attach required documents when a payment enters the REQUIRES_REVIEW state.

Some payments require supporting documentation before they can continue. When a payment enters REQUIRES_REVIEW, your integration should show the user or operator what is needed, attach the document, and wait for review resolution events.

Note

If a customer already has an approved document on record, future payments from that customer can bypass the review gate.

01
Receive event

`payment.requiresReview` tells your system the payment is blocked.

02
Collect document

Ask for the specific document type needed by the review.

03
Attach document

Register the uploaded file against the payment.

04
Wait for decision

Mirror approved or rejected events in your product.

Request
POST /sandbox/payments/{PAYMENT_ID}/documents HTTP/1.1
Host: api.conomyhq.com
x-api-key: {YOUR_API_KEY}
Authorization: Bearer {ACCESS_TOKEN}
conomyhq-api-version: 24-04-2025
User-Agent: MyApp/1.0
Content-Type: application/json
Accept: application/json

{
  "type": "SOURCE_OF_FUNDS",
  "url": "https://documents.yourapp.com/payments/payment-1001/source-of-funds.pdf",
  "metadata": {
    "fileName": "source-of-funds.pdf",
    "uploadedBy": "operator@example.com"
  }
}
Response
{
  "id": "<DOCUMENT_ID>",
  "paymentId": "<PAYMENT_ID>",
  "type": "SOURCE_OF_FUNDS",
  "status": "UPLOADED"
}
Request
GET /sandbox/payments/{PAYMENT_ID} HTTP/1.1
Host: api.conomyhq.com
x-api-key: {YOUR_API_KEY}
Authorization: Bearer {ACCESS_TOKEN}
conomyhq-api-version: 24-04-2025
User-Agent: MyApp/1.0
Accept: application/json
Response
{
  "id": "<PAYMENT_ID>",
  "status": "REQUIRES_REVIEW",
  "documentationStatus": "UPLOADED",
  "reviewReason": "SOURCE_OF_FUNDS_REQUIRED"
}

Listen for payment.reviewApproved and payment.reviewRejected. Approved payments resume from the point where they were blocked. Rejected payments transition to FAILED, and refund handling may apply when funds were already received.