Skip to content

Add RequestToReceiveBill to messaging proto#47

Open
kid42 wants to merge 1 commit into
code-payments:mainfrom
kid42:feat/request-to-receive-bill
Open

Add RequestToReceiveBill to messaging proto#47
kid42 wants to merge 1 commit into
code-payments:mainfrom
kid42:feat/request-to-receive-bill

Conversation

@kid42
Copy link
Copy Markdown

@kid42 kid42 commented May 9, 2026

This adds the RequestToReceiveBill message type and AdditionalFeePayment to the messaging proto, bringing back merchant payment support that existed in the original Code SDK.

The new message allows a merchant/integrator to request payment in a specific mint, with optional fee routing via AdditionalFeePayment (basis points to a destination account).

New messages:

  • RequestToReceiveBill (field 6 on Message oneof)
  • AdditionalFeePayment
  • RequestToReceiveBillServerContext

All additive, no changes to existing messages. Follows the same patterns as RequestToGiveBill/RequestToGrabBill.

Related: code-payments/ocp-server#199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant