post https://open-api.stag-v2.paper.id/api/v1/payment/request
This API is used to get a list of created payment transactions. The are no difference in the URL for both payment in and out, the only key difference is the destination field.
Parameter
Use this schema if the user would like to pay by using an invoice as a basis. The minimum amount for a transaction is IDR 10.000.
Instant Payment
Instant Payment allows you to create Payment Request without waiting for the invoice creation completed, it will speed up the payment creation process. There are some behavioral changes to make sure the invoices successfully created. Since, all payment request need to have an underlying documents
- When due date is backdated before todays date then we will define the due date value as H+1
- When invoice date is backdated before todays date then we will use the invoice date value as today
- Partner Referencing behavior
- If partner number is found, then use the the partner data in existing database as information
- If partner number is not found, then use the partner data in payload request as information
- If invoice number already exist, then the invoice number will be replaced with defined format, i.e
INV-01-REF_ID
- INV: prefix that assigned for auto-assigned invoice number
- 01: Invoice ordinal number, represent how many invoice should be created based on count of invoices at the request payload
- REF_ID: submitted user id, since the data is considered unique to prevent any duplicated invoice
- Also to prevent duplicated entry, if you are sending same payload request we have idempotency check to prevent duplicate request, even before invoice creation process begun.