Skip to content

For createInvoice, please make email parameter optional #1

@erikdemarco

Description

@erikdemarco

When we want to create invoice via https://api-sandbox.duitku.com/api/merchant/createInvoice

Based on this docs: https://docs.duitku.com/pop/id/#create-invoice
We required to send email parameter as well. So website which not use email for their platform cant use it.
I also compare this implementation with other payment gateway, Most payment gateway I tested will not require email and phone. For example look at midtrans api (I think they have very good implementation of backend API):
https://snap-docs.midtrans.com/#request-body-json-parameter

They only require, order_id & payment amount.

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