Skip to main content
Back to API Reference
POST/api/v1/payins/{id}/slip

Submit Transfer Slip Fallback (POST /v1/payins/:id/slip)

ENDPOINT OVERVIEW

POST /api/v1/payins/{id}/slip acts as the third independent confirmation layer: it verifies the slip's embedded bank QR payload against bank records and stores its cryptographic hash so the same slip can never be reused — never relying on OCR.

Protocol Rules

  • Validates sender account, exact transfer amount, and order window against real bank records.
  • Stores a permanent cryptographic hash per verified slip to block replay attempts.

Request Examples

curl -X POST https://api.example.com/api/v1/payins/0198cbff-db9b-7b6a-9f82-6a55fdfb6575/slip \
  -H "Content-Type: application/json" \
  -H "X-API-Key: <your-api-key>" \
  -H "X-Timestamp: <unix-timestamp>" \
  -H "X-Signature: <hmac-sha256-of-path>" \
  -d '{
    "qr_payload": "0041000600000101030040220..."
  }'

Sample JSON Response

{
  "id": "0198cbff-db9b-7b6a-9f82-6a55fdfb6575",
  "verified": true,
  "verification_method": "BANK_QR_RECORD",
  "slip_hash": "sha256:9c4d8e1a...f20b",
  "status": "succeeded"
}