/bff/payment-gateway/update
Updates an existing payment gateway instance. Only provided fields will be updated. To clear a field, pass an empty string. To change credentials, provide new values.
Payment GatewaypostBffPayment-gatewayUpdate
Parameters
9 body
Body · 9
codestringRequiredGateway code to update.
descriptionstringNew description.
environmentstring | string | stringNew environment setting.
activebooleanEnable or disable the gateway.
publicKeystringNew public API key.
secretKeystringNew secret API key.
merchantIdstringNew merchant ID.
secureKeystringNew secure key.
extraobjectNew extra configuration.
Request
POST /bff/payment-gateway/update
curl -X POST "https://api.bizkithub.com/bff/payment-gateway/update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"code": "gopay-production",
"description": "example_description",
"active": false,
"publicKey": "example_publicKey",
"secretKey": "example_secretKey",
"merchantId": "example_merchantId",
"secureKey": "example_secureKey",
"extra": {}
}'Response
Gateway updated successfully.
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.