Payments — Reference (Flow A — sandbox only)
Auth: X-API-Key. LIVE keys are rejected (use Transactions).
POST /v1/payments — create · Idempotency-Key required
curl -X POST "$BASE_URL/v1/payments" \
-H "X-API-Key: $THIQWAVE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"quote_id": "'"$QUOTE_ID"'",
"collection_method": "LEAN_OPEN_BANKING"
}'
| Field | Type | Required | Notes |
|---|---|---|---|
quote_id | uuid | yes | accepted Flow A quote |
collection_method | enum | yes | LEAN_OPEN_BANKING | VIRTUAL_IBAN |
Errors: 400 IDM_0002, 403 CMP_0001 (compliance gate), 404, 409 IDM_0001.
GET /v1/payments/:id · GET /v1/payments
List filters: status, from_date, to_date, limit, cursor.