DocsAPI ReferencePayment Gateway/bff/payment-gateway/sync-payment
postPayment GatewayAdmin BFF

/bff/payment-gateway/sync-payment

Fetches the current payment status from the payment provider and updates the local record. Useful for checking if a payment has been completed or for troubleshooting.

Payment GatewaypostBffPayment-gatewaySync-payment

Parameters

2 body

2 total
Body · 2
idstring

Payment ID to sync.

orderHashstring

Order hash - syncs all payments for this order.

Request

POST /bff/payment-gateway/sync-payment

post
curl -X POST "https://api.bizkithub.com/bff/payment-gateway/sync-payment" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "pay_12345",
  "orderHash": "abc123def"
}'

Response

Sync result.

{
  "success": true,
  "message": "example_message"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key