This endpoint retrieves detailed information about a specific payment, including its current status and fulfillment results if available.
Payment transaction ID from post payment response
Payment details retrieved successfully
PLN Prepaid Payment - Success
{
"data": {
"business_id": "5f27a14a9bf05c73dd040bc8",
"type": "payment",
"id": "trx-98765",
"properties": {
"reference_id": "tx-pln-001",
"product_id": "PLN_PREPAID_50K",
"customer_number": "12345678910",
"admin_amount": 3200,
"base_amount": 50000,
"total_amount": 53200,
"currency": "IDR",
"status": "SUCCEEDED",
"fulfilled_at": "2024-01-23T08:15:30Z",
"failure_code": null,
"failure_reason": null,
"customer_details": [
{
"key": "Nama Pelanggan",
"value": "John Doe"
},
{
"key": "Nomor Pelanggan",
"value": "12345678910"
}
],
"product_details": [
{
"key": "Tarif/Daya",
"value": "R2/000003500"
}
],
"bill_details": [
{
"key": "Admin",
"value": "3200"
}
],
"payment_details": [
{
"key": "Token",
"value": "1234-5678-9012-3456-7890"
},
{
"key": "Serial Number",
"value": "PLN987654321"
}
]
}
}
}
Xendit's Business ID
Type of response, always "payment"
Unique payment transaction ID
Partner's transaction reference
Product identifier
Customer's account/service number
Administrative fee amount
Base product amount
Total amount including admin fee
Currency of the product
Payment status
ISO8601 timestamp when payment completed (null when pending)
Error code in case of FAILED status
Error message in case of FAILED status
Array of customer information key-value pairs
Name of the detail field
Value of the detail field
Array of product information key-value pairs
Name of the detail field
Value of the detail field
Array of billing information key-value pairs
Name of the detail field
Value of the detail field
Array of payment information key-value pairs
Name of the detail field
Value of the detail field
The provided id
does not exist. Please review the id
and try again