Path/ordersnap/api/v1.0/debit/status
HTTP MethodPOST
Versionv1.0
Service Code55

Request Header

Field NameField TypeMandatoryField Description
Content-typeStringMMedia type of the resource, i.e. application/json.
AuthorizationStringMRepresents access_token of a request; string starts with keyword “Bearer ” followed by access_token. Can get this from Access Token B2B API response. Read here
X-TIMESTAMPStringMClient’s current local time in ISO-8601 format.
X-SIGNATUREStringMCreated using symmetric signature HMAC_SHA512 algorithm. Read here
X-PARTNER-IDStringMUnique identifier for caller
X-EXTERNAL-IDStringMMerchant’s unique ID per transaction request
CHANNEL-IDStringMPJP’s channel id.
Content-Typeapplication/json
AuthorizationBearer gp9HjjEj813Y9JGoqwOeOPWbnt4CupvIJbU1Mmu4a11MNDZ7Sg5u9a
X-TIMESTAMP2023-07-06T14:12:50+07:00
X-SIGNATUREda1fa417c72d6b91c257e01e54fac824
X-PARTNER-ID7fb118fb-2738-4886-9817-8a2c4de43001
X-EXTERNAL-ID841807553358950093184162180797837
CHANNEL-ID95221

Request Body

Field NameField TypeMandatoryField Description
originalPartnerReferenceNoStringMTransaction identifier on merchant side
{
  "originalPartnerReferenceNo": "order0002"
}

Response Body

Field NameField TypeMandatoryField Description
additionalInfoObjectOObject additonal information
additionalInfo.fraudStatusStringOFraud status
additionalInfo.metadataObjectOTransaction metadata
additionalInfo.payOptionDetailsArray of ObjectMPayment option detail
additionalInfo.payOptionDetails.payMethodStringMPayment method
additionalInfo.payOptionDetails.payOptionStringMPayment option used
additionalInfo.validUpToStringOThe time when the payment will be automatically expired
latestTransactionStatusString(2)MLatest transaction status:

00 (Success)
01 (Initiated)
02 (Paying)
03 (Pending)
04 (Refunded)
05 (Canceled)
06 (Failed)
07 (Not found)
08 (Expiry)
09 (Rejected)
originalPartnerReferenceNoString(64)OOriginal transaction identifier on service consumer system
originalReferenceNoString(64)MTransaction identifier on service provider system
paidTimeStringCUpdate time of the individual transaction
refundHistoryArray of ObjectCRefund history associated with the transaction
responseCodeString(7)MStatus code of transaction charge result.
responseMessageString(150)MDescription of transaction charge result.
serviceCodeString(2)MService code of the original transaction request
transAmountObjectOObject Transaction Amount
transAmount.currencyStringMCurrency of transaction amount based on ISO 4217
transAmount.valueStringMTransaction amount with 2 decimal
{
    "additionalInfo": {
        "fraudStatus": "",
        "metadata": {},
        "payOptionDetails": {
            "payMethod": "8",
            "payOption": ""
        },
        "validUpTo": "2024-09-20T07:44:11Z"
    },
    "latestTransactionStatus": "03",
    "originalPartnerReferenceNo": "order32",
    "originalReferenceNo": "T24090683396",
    "paidTime": "",
    "refundHistory": [],
    "responseCode": "2005500",
    "responseMessage": "Request has been processed successfully",
    "serviceCode": "54",
    "transAmount": {
        "currency": "IDR",
        "value": "1017.01"
    }
}

List Response Code

Response CodeHTTP StatusDescription
2005500200Successful
4005501400Invalid format