API Reference
Log In
API Reference

Payment In Callback

Payload reference for the payment-in status callback.

The Payment In callback notifies your system when a payment you receive changes status — bank transfer, QRIS, e-wallet, Mitra Pembayaran Digital, Paper Usaha, or credit card. Register the callback URL in the Paper.id dashboard (Settings › API Integration).

Payment In and Payment Out callbacks use the same payload format; they differ only in the callback URL you register for each.

Credit card payments use a slightly different format, documented after the schema.

{
  "transaction_id": "1763523712486K2",
  "ref_id": "PAY-REF/2025/06/IN/123",
  "external_id": "123456xxxx",
  "transaction_date": "2025-06-18 04:38:54.415786634 +0700 WIB",
  "payment_date": "2025-06-18",
  "payment_info": {
    "method": "bank_transfer",
    "channel": "bca_manual",
    "bank_transfer": {
      "amount": 12557,
      "created": "2025-06-18T04:38:54.415786634+07:00",
      "paid_amount": 12557,
      "paid_at": "2025-06-18T05:16:59.511610249+07:00",
      "status": "PAID",
      "updated": "2025-06-18T05:16:59.511610249+07:00"
    }
  },
  "additional_info": {
    "invoices": [
      {
        "uuid": "580efeb6-5887-4973-ab13-099e22598adf",
        "number": "INV/2025/11/0001"
      }
    ]
  },
  "message": "transaction succeed"
}
{
  "transaction_id": "1763523712486K2",
  "ref_id": "PAY-REF/2025/06/IN/124",
  "external_id": "123456xxxx",
  "transaction_date": "2025-06-18 04:38:54.415786634 +0700 WIB",
  "payment_date": "2025-06-18",
  "payment_info": {
    "method": "qris",
    "channel": "qris",
    "qris": {
      "amount": 10000,
      "created": "2025-06-18T04:38:54.415786634+07:00",
      "qr_code": {
        "qr_string": "00020101021226580014ID.PAPER.WWW0118",
        "type": "dynamic"
      },
      "status": "PAID"
    }
  },
  "additional_info": {
    "invoices": [
      {
        "uuid": "580efeb6-5887-4973-ab13-099e22598adf",
        "number": "INV/2025/11/0001"
      }
    ]
  },
  "message": "transaction succeed"
}
{
  "transaction_id": "1763523712486K2",
  "ref_id": "PAY-REF/2025/06/IN/127",
  "external_id": "123456xxxx",
  "transaction_date": "2025-06-18 04:38:54.415786634 +0700 WIB",
  "payment_date": "2025-06-18",
  "payment_info": {
    "method": "ewallet",
    "channel": "ovo",
    "ewallet": {
      "amount": 10000,
      "created": "2025-06-18T04:38:54.415786634+07:00",
      "phone": "081234567890",
      "status": "PAID"
    }
  },
  "additional_info": {
    "invoices": [
      {
        "uuid": "580efeb6-5887-4973-ab13-099e22598adf",
        "number": "INV/2025/11/0001"
      }
    ]
  },
  "message": "transaction succeed"
}
{
  "transaction_id": "1763523712486K2",
  "ref_id": "PAY-REF/2025/06/IN/128",
  "external_id": "123456xxxx",
  "transaction_date": "2025-06-18 04:38:54.415786634 +0700 WIB",
  "payment_date": "2025-06-18",
  "payment_info": {
    "method": "mitra_pembayaran_digital",
    "channel": "indomaret",
    "mitra_pembayaran_digital": {
      "payment_amount": 10000,
      "payment_status": "PAID",
      "transaction_time": "2025-06-18T05:16:59+07:00"
    }
  },
  "additional_info": {
    "invoices": [
      {
        "uuid": "580efeb6-5887-4973-ab13-099e22598adf",
        "number": "INV/2025/11/0001"
      }
    ]
  },
  "message": "transaction succeed"
}

Payment Callback Schema

PathData Type ValidationDescription
additional_infoObjectAdditional information related to the payment data, in key value pairs format
messageStringHuman readable callback message from Paper.id, e.g. "transaction succeed"
payment_datestringDate when payment is being made. in YYYY-MM-DD format
ref_idstringPayment Reference Id from client
external_idstringPayment Request External ID from client (if set)
transaction_idstringPaper.id transaction identifier
transaction_datestringTime when the transaction was created
transaction_statusstringTransaction status from the payment pipeline
payment_infoobjectDetails of payment information
payment_info.methodstringThe payment method used
payment_info.channelstringThe payment channel used
payment_info.[payment_method]objectDetails of selected payment method for the specified payment id
payment_info.[payment_method].amountnumberBilled amount
payment_info.[payment_method].createdstringPayment created time
payment_info.[payment_method].statusstringPayment status
payment_info.bank_transfer.paid_amountnumberPaid amount (bank transfer)
payment_info.bank_transfer.paid_atstringPayment transaction time (bank transfer)
payment_info.bank_transfer.updatedstringPayment last updated time (bank transfer)
payment_info.ewallet.phonestringPayer phone number (e-wallet)
payment_info.qris.qr_codeobjectQRIS code details (QRIS)
payment_info.qris.qr_code.qr_stringstringQR string value (QRIS)
payment_info.qris.qr_code.typestringQR code type, e.g. dynamic (QRIS)
payment_info.mitra_pembayaran_digital.payment_amountnumberPaid amount (Mitra Pembayaran Digital)
payment_info.mitra_pembayaran_digital.payment_statusstringPayment status (Mitra Pembayaran Digital)
payment_info.mitra_pembayaran_digital.transaction_timestringPayment transaction time (Mitra Pembayaran Digital)
payment_info.paper_usaha.payment_amountnumberPaid amount (Paper Usaha)
payment_info.paper_usaha.datestringPayment date (Paper Usaha)
payment_info.paper_usaha.due_datestringDue date of the payment (Paper Usaha)

Credit Card Payment Callback

Credit card payments are delivered in the following format.

{
  "ref_id": "PAY-REF/2025/06/IN/125",
  "payment_date": "2025-06-18",
  "payment_info": {
    "channel": "Visa",
    "method": "credit_card",
    "source": "open-api",
    "status": "PAID",
    "grand_amount": 10000,
    "credit_card": {
      "amount": 10000,
      "created": "2025-06-18T05:18:49.797030079+07:00",
      "paid_amount": 10000,
      "paid_at": "2025-06-18T05:19:01.192687186+07:00",
      "status": "PAID",
      "updated": "2025-06-18T05:19:01.192687186+07:00",
      "supplier_payment_fee": 0
    }
  },
  "additional_info": {
    "invoices": [
      {
        "uuid": "580efeb6-5887-4973-ab13-099e22598adf",
        "number": "INV/2025/11/0001"
      }
    ]
  },
  "message": "transaction succeed",
  "external_id": "123456xxxx"
}
PathData Type ValidationDescription
ref_idstringPayment Reference Id from client
payment_datestringDate when payment is being made. in YYYY-MM-DD format
external_idstringPayment Request External ID from client (if set)
messageStringHuman readable callback message from Paper.id, e.g. "transaction succeed"
additional_infoObjectAdditional information related to the payment data, in key value pairs format
payment_infoobjectDetails of payment information
payment_info.channelstringThe payment channel used, e.g. Visa
payment_info.methodstringThe payment method used (credit_card)
payment_info.sourcestringPayment source, e.g. open-api
payment_info.statusstringTransaction status
payment_info.grand_amountnumberTotal billed amount
payment_info.credit_cardobjectCredit card payment details
payment_info.credit_card.amountnumberBilled amount
payment_info.credit_card.createdstringPayment created time
payment_info.credit_card.paid_amountnumberPaid amount
payment_info.credit_card.paid_atstringPayment transaction time
payment_info.credit_card.statusstringPayment status
payment_info.credit_card.updatedstringPayment last updated time
payment_info.credit_card.supplier_payment_feenumberSupplier payment fee