configure_credentials
Set up merchant credentials for SATIM payment gateway integration. Enter the login and password received during registration to enable secure processing of CIB/Edhahabia card payments through the SATIM-ePAY platform.
Instructions
Configure SATIM payment gateway credentials
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Merchant's password received during registration | |
| userName | Yes | Merchant's login received during registration |
Implementation Reference
- satim-mcp-server.ts:357-370 (handler)Handler for the 'configure_credentials' tool. Instantiates SatimPaymentGateway with userName and password from arguments and stores it in global satimGateway variable for use by other payment tools.case "configure_credentials": satimGateway = new SatimPaymentGateway({ userName: args.userName as string, password: args.password as string }); return { content: [ { type: "text", text: "SATIM payment gateway credentials configured successfully." } ] };
- satim-mcp-server.ts:212-229 (registration)Registration of the 'configure_credentials' tool in the ListTools response, including name, description, and input schema definition.{ name: "configure_credentials", description: "Configure SATIM payment gateway credentials", inputSchema: { type: "object", properties: { userName: { type: "string", description: "Merchant's login received during registration" }, password: { type: "string", description: "Merchant's password received during registration" } }, required: ["userName", "password"] } },
- satim-mcp-server.ts:14-16 (schema)Type definition for SATIM credentials used in the configure_credentials handler and gateway constructor.interface SatimCredentials { userName: string; password: string;