diff --git a/.changeset/cold-cherries-grow.md b/.changeset/cold-cherries-grow.md new file mode 100644 index 0000000..ab656ad --- /dev/null +++ b/.changeset/cold-cherries-grow.md @@ -0,0 +1,5 @@ +--- +"@ssecd/ihs": patch +--- + +Correct KYC verification code `content-type` diff --git a/src/kyc.ts b/src/kyc.ts index 220a38b..1658e60 100644 --- a/src/kyc.ts +++ b/src/kyc.ts @@ -73,7 +73,7 @@ export class KYC { data: patient }); const response = await this.ihs.request({ - headers: { 'Content-Type': 'text/plain' }, + headers: { 'Content-Type': 'application/json' }, path: '/challenge-code', body: payload, method: 'POST',