API Reference

E-wallet Section

If an ewallet payment method is used in the payment request, PAPER.ID will process the payment to the respective ewallet account with the informed payor phone number (payor_phone). The payor shall open the ewallet account and process the payment that is notified in their ewallet application.

For now, the only available channel for the e-wallet is OVO

Payment MethodMethodChannel
ewallet OVOewalletovo

Payload of Payment Method Object in an API Call Request, when using ewallet


{
    "payment_method": {
        "method": "ewallet",
        "channel": "ovo",
        "phone": "081359161624"
    },
    // other props ...
}

Payload of data object in an API Call Response, when using virtual account

{    
  "data": {
    "amount": 20000,
    "buyer_fee": 2500,
    "merchant_fee": 0,
    "payment_channel": "ovo",
    "payment_id": "4eb2f775-5c4b-4fdd-abaa-b66d4c02f40c",
    "payment_method": "ewallet",
    "ref_id": "EXP202324000312091832",
    "status": "PENDING"
    },
    // other props ...
}

After the request is executed, a notification will appear on the customer application. The time for payment is 30s, if the time is out, you need to request with same ID to trigger the notification back