Invoice Details
POST
Request Body Parameters
application/jsonCommon Request Parameters
bizContent
requestIdString(64)RequiredUnique request ID, globally unique.invoiceIdString(64)RequiredInvoice ID.
Request Body Example
{
"clientId": "20250101123456",
"accId": "ACC001",
"signType": "MD5",
"sign": "SIGN_VALUE",
"version": "4.0",
"bizContent": {
"requestId": "req_20260507_0011",
"invoiceId": "INV-260507100000000001"
}
}Responses Body Parameters
application/jsonCommon Response Parameters
bizContent
subscriptionDetailObjectOptionalSubscription information object. 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.
customerObjectOptionalCustomer object, same structure as the customer API response body.customerIdString(64)RequiredPingPong customer ID.partnerCustomerIdString(64)RequiredMerchant-side customer identifier, i.e. the user's member ID on the merchant's website. Unique within the same store.firstNameString(64)OptionalFirst name.lastNameString(64)OptionalLast name.companyNameString(128)OptionalCompany name.emailString(128)OptionalEmail address.phoneString(20)OptionalPhone number.addressObjectOptionalAddress object, same structure as the request address.countryString(2)OptionalTwo-letter country code, ISO 3166.stateString(128)OptionalState or province.cityString(50)OptionalCity.postalCodeString(16)OptionalPostal code.line1String(256)OptionalAddress line 1.line2String(256)OptionalAddress line 2.
languageString(12)OptionalPreferred language and locale.metadataString(512)OptionalMerchant-defined custom string.createdAtString(10)RequiredCreation time as a 10-digit second-level timestamp string.updatedAtString(10)RequiredLast update time as a 10-digit second-level timestamp string.
merchantObjectOptionalIssuer (merchant) object.legalNameString(128)OptionalMerchant legal name.addressObjectOptionalMerchant address object.businessAddressEnString(256)OptionalMerchant business address in English.postCodeString(16)OptionalPostal code.countryString(64)OptionalCountry. Sandbox responses return the full country name (e.g.China).
websiteString(255)OptionalMerchant website.
paymentObjectOptionalPayment information object.statusString(32)OptionalPayment status.transactionIdString(64)OptionalPingPong transaction ID.merchantTransactionIdString(64)OptionalMerchant transaction ID.methodTypeString(32)OptionalPayment method: the card brand for card payments (e.g.VISA), or an upper-case APM name (such asPAYNOW).transactionTimeString(32)OptionalPayment completion time, ISO 8601 UTC.
downloadObjectOptionalFile download object. Can also use the Invoice 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.invoiceIdString(64)RequiredInvoice ID.invoiceNumberString(64)ConditionalInvoice number, assigned after finalization.versionIntegerRequiredInvoice version number, incremented on every re-render.statusString(32)RequiredInvoice status:DRAFT: draft, not finalized after creation; can be updated or voided.FINALIZED: finalized, invoice number assigned, downloadable.VOID: voided.
PAYMENT_PENDING(charge in progress) /PAID/PARTIALLY_REFUNDED(refunds attach to the first invoice) /FULLY_REFUNDED.createdAtString(10)RequiredCreation time as a 10-digit second-level timestamp string.finalizedAtString(10)OptionalFinalization time as a 10-digit second-level timestamp string.paidAtString(10)OptionalPayment completion time as a 10-digit second-level timestamp string.currencyString(3)RequiredCurrency, ISO 4217.subtotalString(12)RequiredSubtotal amount as a decimal string.totalString(12)RequiredTotal amount as a decimal string.amountPaidString(12)OptionalAmount already paid, as a decimal string. Sandbox verified (2026-10-19): not returned while the invoice is unpaid (PAYMENT_PENDING).
Request Body Example
{
"clientId": "20250101123456",
"accId": "ACC001",
"signType": "MD5",
"sign": "SIGN_VALUE",
"code": "000000",
"description": "SUCCESS",
"bizContent": {
"requestId": "req_20260507_0011",
"invoiceId": "INV-260507100000000001",
"invoiceNumber": "INV-2605070001",
"version": 1,
"status": "FINALIZED",
"createdAt": "2026-05-07T00:00:00Z",
"finalizedAt": "2026-05-07T00:01:00Z",
"paidAt": "2026-05-07T00:02:00Z",
"currency": "USD",
"subtotal": "10.00",
"total": "10.00",
"amountPaid": "10.00",
"subscriptionDetail": {
"subscriptionId": "SUB-2605070001",
"partnerSubscriptionId": "sub_20260507_0002",
"startAt": "2026-05-07T00:00:00Z",
"endAt": "2026-06-07T00:00:00Z"
},
"customer": {
"customerId": "CUS-260507100000000001",
"partnerCustomerId": "USER_001",
"firstName": "James",
"lastName": "LeBron",
"email": "james@example.com"
},
"merchant": {
"legalName": "Example Pte. Ltd.",
"address": {
"businessAddressEn": "10 Marina Boulevard, Singapore",
"postCode": "018983",
"country": "SG"
},
"website": "https://merchant.example.com"
},
"payment": {
"status": "SUCCESS",
"transactionId": "260507100000000001",
"merchantTransactionId": "M202605070001",
"methodType": "CARD",
"transactionTime": "2026-05-07T00:02:00Z"
},
"download": {
"url": "https://example.com/invoice/INV-2605070001.pdf",
"expiresAt": "2026-06-06T00:00:00Z",
"version": 1,
"format": "PDF"
}
}
}