pix-mcp
Version:
Standalone MCP server for generating static Pix QR codes without external dependencies
32 lines • 1.09 kB
TypeScript
import { PixChargeRequest, PixChargeResponse, StaticPixRequest, StaticPixResponse } from '../types/PixTypes.js';
export declare class PixService {
private staticPixService;
constructor();
/**
* Creates a static Pix charge
* @param request Pix charge request details
* @returns Promise with the generated Pix code and QR code
*/
createStaticPix(request: StaticPixRequest): Promise<StaticPixResponse>;
/**
* @deprecated Use createStaticPix instead
*/
createPixCharge(request: PixChargeRequest): Promise<PixChargeResponse>;
/**
* Gets the status of a Pix charge
* @param _txid Transaction ID (unused for static Pix)
* @returns Status of the Pix charge
*/
getPixStatus(_txid: string): Promise<{
status: string;
}>;
/**
* Attempts to cancel a Pix charge
* @param _txid Transaction ID (unused for static Pix)
* @returns Success status of the cancellation
*/
cancelPixCharge(_txid: string): Promise<{
success: boolean;
}>;
}
//# sourceMappingURL=PixService.d.ts.map