Skip to content

Remove updatedAt field from payment links #424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/data/paymentLinks/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ export interface PaymentLinkData extends Model<'payment-link'> {
*/
paidAt?: string;
/**
* The date and time the payment link last status change, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*
* @see https://docs.mollie.com/reference/v2/payment-links-api/get-payment-link?path=updatedAt#response
* @deprecated This field currently always returns null and will be removed from the API in the future.
*/
updatedAt?: string;
// TODO: Remove in v5.0.0
updatedAt?: null;
/**
* The expiry date and time of the payment link, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*
Expand Down
3 changes: 0 additions & 3 deletions tests/__nock-fixtures__/paymentLinks.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"redirectUrl": null,
"createdAt": "2021-11-24T11:44:29+00:00",
"paidAt": null,
"updatedAt": null,
"expiresAt": null,
"_links": {
"self": {
Expand Down Expand Up @@ -80,7 +79,6 @@
"redirectUrl": null,
"createdAt": "2021-11-24T11:44:29+00:00",
"paidAt": null,
"updatedAt": null,
"expiresAt": null,
"_links": {
"self": {
Expand Down Expand Up @@ -135,7 +133,6 @@
"redirectUrl": null,
"createdAt": "2021-11-24T11:44:29+00:00",
"paidAt": null,
"updatedAt": null,
"expiresAt": null,
"_links": {
"self": {
Expand Down
Loading