Skip to content

Inconsistent API for refunds.refund #8

@Prinzhorn

Description

@Prinzhorn

Is there a reason refunds.refund expects (transaction_id, amount, description, cb) instead of (transaction_id, data, cb)? https://github.com/komola/paymill-node/blob/master/lib/main.js#L157

Since description is optional, it would be valid to just pass {amount: 123}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions