UNPKG

@ssecd/jkn

Version:

JKN (BPJS) Bridging API untuk NodeJS

25 lines (24 loc) 655 B
import { BaseApi } from './base.js'; export class ICare extends BaseApi { type = 'icare'; async fkrtl(data) { return this.send({ name: 'FKRTL', path: `/api/rs/validate`, method: 'POST', skipContentTypeHack: true, headers: { 'Content-Type': 'Application/json' }, data }); } async fktp(data) { return this.send({ name: 'FKTP', path: `/api/pcare/validate`, method: 'POST', skipContentTypeHack: true, headers: { 'Content-Type': 'Application/json' }, data }); } }