/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
Body · 2
idstringPayment ID to sync.
orderHashstringOrder hash - syncs all payments for this order.
Request
POST /bff/payment-gateway/sync-payment
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.