Netzme vSNAP
  • Introducing
  • Getting Started
  • API Reference
    • Toko Netzme
      • Credentials & Signature
      • Authentication
      • Create pin
      • Forgot pin
      • Get Balance Detail
      • Get Transaction List
      • Get Merchant Detail
      • Withdraw Inquiry
      • Get Information Withdraw
      • Get QRIS Acquire Transaction
      • Create Invoice
      • Create Invoice Transaction
      • Create Invoice QR MPM
      • Get Invoice Transaction
      • Payment Success Callback (Invoice)
      • Payment Success Callback (QRIS Non Invoice )
      • Payment Success Callback V2
        • Payment Success Callback QRIS
        • SNAP Payment Success Callback QRIS
      • Withdraw Status Notification
      • Deduct Deposit and Split Fee
      • Deposit
        • Create Invoice Transaction Topup Deposit
        • Inquiry Withdraw Deposit
        • Withdraw Deposit
        • Get Information Withdraw Deposit
        • Get Deposit Transaction
        • Get Balance Deposit
      • Withdraw Process
      • SNAP Asymmetric Signature
    • Netzme
      • Connect to Netzme
      • Credentials & Signature
      • Authentication
      • Get Account Status
      • Get Balance
      • Get History
      • Get Fixed Topup VA
      • Get Detail Qris
        • QRIS Static
        • QRIS Static With Amount & Percentage Fee
        • QRIS Dynamic
        • QRIS Dynamic with Fee
      • QRIS Payment
      • QRIS Payment Notification
      • Payment Bill
      • Payment Bill Notification
      • Payment Netzme Seamless
      • Upgrade Account Notification
      • Upgrade Account
Powered by GitBook
On this page
  1. API Reference
  2. Toko Netzme

Get Invoice Transaction

The available version for this api is v2.0.

POST https://tokoapisnap-stg.netzme.com/api-invoice/{version}/transaction-history-detail

Parameter
Data Type
Description

originalPartnerReferenceNo

String

Invoice transaction ID

additionalInfo

Object

partnerReferenceNo

String

API request identifier from the user's system, unique for each request

{
    "originalPartnerReferenceNo": "testing20210409144959687",
    "additionalInfo": {
        "partnerReferenceNo": "testing20210409144959687",
    }
}
Parameter
Data Type
Description

responseCode

String

(HTTP status code + service code + case code)

responseMessage

String

Description of responseCode

partnerReferenceNo

String

API request identifier from the user's system

referenceNo

String

Invoice transaction ID

amount

String

Amount of transaction

value

String

Value of amount

currency

String

Currency of amount

type

String

Transactions type (PAYMENT)

status

String

Status transaction (INIT, SUCCESS, CLOSED)

dateTime

String datetime

invoice created time or paid time

additionalInfo

Object

amountLong

Long

Amoint in long format (number)

createdTs

String

Invoice created time

desc

String

Invoice description

descFromBuyer

String

Invoice description from buyer

descFromMerchant

String

Invoice description from merchant/seller

email

String

customer email

expiredTs

String

Invoice expired time

paymentMethod

String

Available payment method

paymentUrl

String

Payment url

additionalInfo

Object

expiredTs

String

Invoice expired time

feeAmount

Object

Fee transaction

value

String

value of feeAmount

currency

String

currency of feeAmount

feeAmountLong

Long

feeAmount in long format (number)

feeType

String

fee type

fullName

String

full name

invoiceId

String

Invoice transaction ID

invoiceStatus

String

status

custIdMerchant

String

Merchant ID

paidTs

String

Payment time

payMethod

String

Payment method

paymentUrl

String

payment url

phoneNo

String

phone number

retailOutletData

Array

retail outlet data

totalAmount

Object

total paid amount

value

String

value of totalAmount

currency

String

currency of totalAmount

totalAmountLong

Long

totalAmount in long format (number)

virtualAccountData

Array

Data virtual account

dateTime

String

date format

type

String

type of request

statusMessage

String

status request

Response Body

{
    "responseCode": "2001300",
    "responseMessage": "Successful",
    "partnerReferenceNo": "testing20210409144959687",
    "referenceNo": "ace34ca47c9e4c3c9efcabd29f0647a3",
    "amount": {
        "value": "5001.00",
        "currency": "IDR"
    },
    "status": "SUCCESS",
    "type":"PAYMENT",
    "dateTime": "2022-10-10 11:14:47.754+07",
    "additionalInfo": {
        "amountLong": 5001,
        "createdTs": "2022-10-10 11:14:47.754+07",
        "desc": "description",
        "descFromBuyer": "desc",
        "descFromMerchant": "description",
        "email": "testabccccc@gmail.com",
        "expiredTs": "2022-10-10 12:14:47.698+07",
        "feeAmount": {
            "value": "0.00",
            "currency": "IDR"
        },
        "feeAmountLong": 0,
        "feeType": "on_buyer",
        "fullName": "Tester QA",
        "invoiceId": "NETZ-INV-M_TB1NMLig1665375287698Al2",
        "invoiceStatus": "paid",
        "custIdMerchant": "M_TB1NMLig",
        "paidTs": "2022-10-10 11:16:09.707+07",
        "payMethod": "QRIS",
        "paymentUrl": "https://pay-stg.netzme.id/TokoBuInem/NETZ-INV-M_TB1NMLig1665375287698Al2/qris/ace34ca47c9e4c3c9efcabd29f0647a3",
        "phoneNo": "+62813293333333",
        "retailOutletData": [],
        "totalAmount": {
            "value": "5001.00",
            "currency": "IDR"
        },
        "totalAmountLong": 5001,
        "virtualAccountData": [],
        "type": "get_invoice_transaction"
        "statusMessage":"success"
    }
}

curl --location --request POST 'https://tokoapisnap-stg.netzme.com/api/v1.0/transaction/get-invoice' \
--header 'X-TIMESTAMP: 2022-08-10T00:00:00+07:00' \
--header 'X-SIGNATURE: 5bf0edd89ee0eb68c62a49c869fe1aa844d79c5337bd7bb11652d55abac6d044542996979974df10dea6a7ffff44580f6a77b794028eb47a0d11f8bd894eee25' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjkzNDQ3NjMsImlhdCI6MTY2OTI5MDc2MywiaXNzIjoibG9rZXRkb3Rjb20ifQ.KdFbrQUDgRgZ5XKGAlxqlRCetEAYi1m73xlFYW2_VD8WJgfhx5__DahOPTkywsCU3NtwMqAxDCrfab74bNBCSg' \
--header 'X-PARTNER-ID: TokoNetmeClientId' \
--header 'X-EXTERNAL-ID: 41807553358950093184162180797837' \
--header 'CHANNEL-ID: 95221' \
--data-raw '{
    "originalPartnerReferenceNo": "ace34ca47c9e4c3c9efcabd29f0647a3",
    "additionalInfo": {
        "partnerReferenceNo": "testing20210409144959687"
        }
    }'

PreviousCreate Invoice QR MPMNextPayment Success Callback (Invoice)

Last updated 10 months ago

Header
Value

Content-Type

application/json

CHANNEL-ID

e.g 95221

X-EXTERNAL-ID

e.g 41807553358950093184162180797837

X-PARTNER-ID

Client id e.g TokoNetmeClientId

X-SIGNATURE

Service’s signature (given at )

X-TIMESTAMP

Client's current local time in yyyy-MM-ddTHH:mm:ssTZD

Authorization

Client`s access for protected resources (given at )

Authentication
transactional signature