fix(ffi): export PaymentRequestPayload with json serialization #1542

Merged
a1denvalu3 merged 2 commits from ffi-payment-request-payload into main 2026-01-19 23:34:00 +00:00
a1denvalu3 commented 2026-01-19 16:17:34 +00:00 (Migrated from github.com)

Summary

  • Export PaymentRequestPayload to FFI.
  • Add from_string constructor and to_string method for JSON serialization/deserialization.
  • Add tests for PaymentRequestPayload FFI type.

This allows PaymentRequestPayload to be used in FFI bindings (e.g. for handling Nostr payment payloads).

## Summary - Export `PaymentRequestPayload` to FFI. - Add `from_string` constructor and `to_string` method for JSON serialization/deserialization. - Add tests for `PaymentRequestPayload` FFI type. This allows `PaymentRequestPayload` to be used in FFI bindings (e.g. for handling Nostr payment payloads).
thesimplekid (Migrated from github.com) approved these changes 2026-01-19 23:33:48 +00:00
cdk-bot commented 2026-01-20 11:12:11 +00:00 (Migrated from github.com)

Successfully created backport PR for v0.14.x:

Successfully created backport PR for `v0.14.x`: - #1544
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!1542
No description provided.