BizKitHub
DokumentáciaPrieskumník APIPayment/api/v1/shop/payment/process-notification
getPaymentVerejné API v1

/api/v1/shop/payment/process-notification

Processes a payment gateway callback/notification. Checks the current payment status with the gateway and returns the result with an optional redirect URL.

paymentgetApiV1ShopPaymentProcess-notification

Parametre

3 v query

Parametre v query

· 3
apiKeystringVoliteľné

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
idstringPovinné

Payment gateway transaction ID.

PríkladTXN-123456
orderIdstringPovinné

Order hash identifier (same as used in /create).

Príklada1b2c3d4e5f6

Schéma odpovede

1 zdokumentovaný stavový kód

200ÚspechPayment status check result.
statusstringPovinné

Payment status from the gateway.

PríkladyPAIDPENDINGCANCELLED
redirectUrlstringVoliteľné

URL to redirect the customer after payment processing.

Ukážka odpovede

application/json
{
  "status": "PAID",
  "redirectUrl": "example_redirectUrl"
}

Ukážka požiadavky

GET /api/v1/shop/payment/process-notification

get
curl -X GET "https://api.bizkithub.com/api/v1/shop/payment/process-notification?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&id=TXN-123456&orderId=a1b2c3d4e5f6" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč