Skip to content

[Rafiki Backend] Publish outgoing_payment.completed webhook to card service #3625

@njlie

Description

@njlie

If an outgoing payment was created for a card payment, the Rafiki backend handling that needs to publish the webhook for that outgoing payment's completion to the card service that initiated it.

Like incoming payments, we can augment the outgoing payment model with an initiatedBy field, and augment outgoing payment webhooks with a metadata: { isCardPayment: true } field for card payments. The webhook service should already handle the metadata field, though it will need additional logic to publish that webhook to the card service - it currently only handles sending webhooks to the POS service when incoming card payments are complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions