/bff/payment-gateway/add
Creates a new payment gateway instance. The provider must be one of the supported types. Credentials can be provided during creation or added later via the update endpoint.
Payment GatewaypostBffPayment-gatewayAdd
Parameters
9 body
Body · 9
providerstring | string | stringRequiredPayment provider type.
codestringCustom code/slug. Auto-generated if not provided.
descriptionstringHuman-readable description.
environmentstring | string | stringEnvironment: "p" = Production, "s" = Sandbox (default), "t" = Test.
publicKeystringPublic API key.
secretKeystringSecret API key.
merchantIdstringMerchant ID.
secureKeystringAdditional secure key.
extraobjectAdditional provider-specific settings.
Request
POST /bff/payment-gateway/add
curl -X POST "https://api.bizkithub.com/bff/payment-gateway/add" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"code": "gopay-production",
"description": "GoPay production gateway",
"publicKey": "example_publicKey",
"secretKey": "example_secretKey",
"merchantId": "example_merchantId",
"secureKey": "example_secureKey",
"extra": {}
}'Response
Gateway created successfully.
{
"success": true,
"code": "example_code"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.