Skip to content

status url missing in Docs #437

@thijnmens

Description

@thijnmens

the following typescript code will complain about "status" not being valid

const mollieClient = createMollieClient({apiKey: process.env.MOLLIE_KEY as string});
const payment = await mollieClient.payments.get(payment_id);

console.log(payment._links.status) // TS2339: Property status does not exist on type PaymentLinks

console.log(payment._links) // { ... status: { href: "...", type: 'text/html' } ... }

After checking, the type PaymentLinks indeed does not include status

Metadata

Metadata

Assignees

Labels

API docsIssues with the Mollie docs, ouside the scope of this package.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions