Receipt Details
POST
Request Body Parameters
application/jsonCommon Request Parameters
bizContent
requestIdString(64)RequiredUnique request ID, globally unique.receiptIdString(64)RequiredReceipt ID.
Request Body Example
{
"clientId": "20250101123456",
"accId": "ACC001",
"signType": "MD5",
"sign": "SIGN_VALUE",
"version": "4.0",
"bizContent": {
"requestId": "req_20260507_0021",
"receiptId": "RCT-260507100000000001"
}
}Responses Body Parameters
application/jsonCommon Response Parameters
bizContent
subscriptionDetailObjectOptionalSubscription information object, same structure as in Invoice Details. Not returned for non-subscription scenarios.subscriptionIdString(64)OptionalPingPong subscription ID.partnerSubscriptionIdString(64)OptionalMerchant-side subscription ID.startAtString(10)OptionalStart of the billing period covered by this invoice, as a 10-digit second-level timestamp string.endAtString(10)OptionalEnd of the billing period covered by this invoice, as a 10-digit second-level timestamp string.
refundRecordsArrayRequiredRefund record list (array). Empty when no refund exists.amountString(12)OptionalRefund amount as a decimal string.currencyString(3)OptionalRefund currency.transactionIdString(64)OptionalRefund transaction ID.merchantTransactionIdString(64)OptionalMerchant refund transaction ID.refundedAtString(10)OptionalRefund completion time as a 10-digit second-level timestamp string.
downloadObjectOptionalFile download object, same structure as download in Invoice Details. Not returned by the details response in the current version; use the Receipt Download API to obtain the download URL.urlString(512)OptionalDownload URL, valid for 30 days.expiresAtString(10)OptionalURL expiration time as a 10-digit second-level timestamp string.versionIntegerOptionalInvoice version that the file corresponds to.formatString(16)OptionalFile format, currentlyPDF.
requestIdString(64)RequiredUnique request ID, echoed from the request.receiptIdString(64)RequiredReceipt ID.receiptNumberString(64)RequiredReceipt number.invoiceIdString(64)RequiredAssociated invoice ID.invoiceNumberString(64)RequiredAssociated invoice number.statusString(32)RequiredReceipt status:PAID: paid.PARTIALLY_REFUNDED: partially refunded.FULLY_REFUNDED: fully refunded.
paidAtString(10)OptionalPayment completion time as a 10-digit second-level timestamp string.amountPaidString(12)RequiredAmount paid, as a decimal string.currencyString(3)RequiredCurrency, ISO 4217.transactionIdString(64)RequiredPingPong transaction ID.merchantTransactionIdString(64)RequiredMerchant transaction ID.methodTypeString(32)OptionalPayment method: the card brand for card payments (e.g.VISA), or an upper-case APM name (such asPAYNOW).
Request Body Example
{
"clientId": "20250101123456",
"accId": "ACC001",
"signType": "MD5",
"sign": "SIGN_VALUE",
"code": "000000",
"description": "SUCCESS",
"bizContent": {
"requestId": "req_20260507_0021",
"receiptId": "RCT-260507100000000001",
"receiptNumber": "RCT-2605070001",
"invoiceId": "INV-260507100000000001",
"invoiceNumber": "INV-2605070001",
"subscriptionDetail": {
"subscriptionId": "SUB-2605070001",
"partnerSubscriptionId": "sub_20260507_0002",
"startAt": "2026-05-07T00:00:00Z",
"endAt": "2026-06-07T00:00:00Z"
},
"status": "PAID",
"paidAt": "2026-05-07T00:02:00Z",
"amountPaid": "10.00",
"currency": "USD",
"transactionId": "260507100000000001",
"merchantTransactionId": "M202605070001",
"methodType": "CARD",
"refundRecords": [],
"download": {
"url": "https://example.com/receipt/RCT-2605070001.pdf",
"expiresAt": "2026-06-06T00:00:00Z",
"version": 1,
"format": "PDF"
}
}
}