Skip to main content
POST
/
api
/
v1
/
invoice
/
{invoiceId}
/
verify
Trigger async manual verification for an invoice
curl --request POST \
  --url https://api-beta.pepay.io/api/v1/invoice/{invoiceId}/verify \
  --header 'Content-Type: application/json' \
  --header 'x-session-token: <api-key>' \
  --header 'x-signature: <api-key>' \
  --data '
{
  "network": "base"
}
'
{
  "success": true,
  "data": {
    "object": "invoice_manual_verification",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "invoice_id": "<string>",
    "network": "base",
    "job_status": "pending",
    "status": "pending",
    "attempt_count": 123,
    "max_attempts": 123,
    "next_attempt_at": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "completed_at": "<string>",
    "result": {},
    "error": {}
  }
}

Authorizations

x-session-token
string
header
required

Payment session token (opaque). Returned when creating an invoice; send on every request.

x-signature
string
header
required

Payment session signature in the format signature_hash.timestamp_ms (returned with the invoice/session).

Path Parameters

invoiceId
string
required

The invoice ID to verify

Body

application/json
network
enum<string>

Optional override. Must match the invoice's active network.

Available options:
base,
solana,
bsc

Response

Manual verification job accepted

success
boolean
Example:

true

data
object