Parameters
JSON body
Request body
application/jsonidstringOptionalPayment ID to sync.
Example
pay_12345orderHashstringOptionalOrder hash - syncs all payments for this order.
Example
abc123defFetches 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.
JSON body
idstringOptionalPayment ID to sync.
pay_12345orderHashstringOptionalOrder hash - syncs all payments for this order.
abc123def1 status code documented
successbooleanRequiredtruemessagestringOptionalError message if sync failed.
{
"success": true,
"message": "example_message"
}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"
}'All BizKitHub public API endpoints require authentication via API key.