asaas
Version:
Unofficial Asaas Payment Gateway SDK
22 lines (21 loc) • 650 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PixQrCodesAPI = void 0;
const BaseAPI_1 = require("./BaseAPI");
class PixQrCodesAPI extends BaseAPI_1.BaseAPI {
constructor(apiClient, options = {}) {
super(apiClient, options);
}
async newStatic(params) {
try {
const response = await this.apiClient.post('/pix/qrCodes/static', {
params,
});
return response.data;
}
catch (error) {
return this.handleError(error, 'Erro ao criar QR Code estático:');
}
}
}
exports.PixQrCodesAPI = PixQrCodesAPI;