BizKitHub
DokumentacjaEksplorator APIPayment/api/v1/shop/payment/process-notification
getPaymentPubliczne 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

Parametry

3 w query

Parametry query

· 3
apiKeystringOpcjonalne

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

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
idstringWymagane

Payment gateway transaction ID.

PrzykładTXN-123456
orderIdstringWymagane

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

Przykłada1b2c3d4e5f6

Schemat odpowiedzi

1 udokumentowany kod statusu

200SukcesPayment status check result.
statusstringWymagane

Payment status from the gateway.

PrzykładyPAIDPENDINGCANCELLED
redirectUrlstringOpcjonalne

URL to redirect the customer after payment processing.

Przykład odpowiedzi

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

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API