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

Create Invoice

The available versions for this api are v1.0 and v2.0.

POSThttps://tokoapisnap-stg.netzme.com/api/{version}/invoice/create

Parameter
Data Type
Description

custIdMerchant

String

User ID

partnerReferenceNo

String

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

amount

Object

value

String

Value of Amount

currency

String

Currency of Amount

amountDetail

Object

basicAmount

Object

value

String

Value of basicAmount

currency

String

Currency of basicAmount

shippingAmount

Object

value

String

Value of shippingAmount

currency

String

Currency of shippingAmount

commissionPercentage

Int

Percentage of commission

additionalInfo

Object

email

String

Customer email

notes

String

Invoice note

description

String

Order description

phoneNumber

String

Customer phone number

imageUrl

String

url image

fullname

String

Customer fullname

{
    "custIdMerchant": "M_TB1NMLig",
    "partnerReferenceNo": "testing20210409144959687",
    "amount": {
        "value": "50000.00",
        "currency": "IDR"
    },
    "amountDetail": {
        "basicAmount": {
            "value": "50000.00",
            "currency": "IDR"
        },
        "shippingAmount": {
            "value": "9000.00",
            "currency": "IDR"
        }
    },
    "commissionPercentage": 0,
    "additionalInfo": {
        "email": "testabc@gmail.com",
        "notes": "desc",
        "description": "description",
        "phoneNumber": "+62813293333333",
        "imageUrl": "",
        "fullname": "Tester 2"
    }
}
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

paymentUrl

String

payment url

additionalInfo

Object

invoiceId

String

ID invoice

status

Boolean

Status

Response Body

{
    "responseCode": "2000000",
    "responseMessage": "Successful",
    "partnerReferenceNo": "testing20210409144959687",
    "additionalInfo": {
        "invoiceId": "NETZ-INV-M_TB1NMLig36136158886034181yS5",
        "status": true
    }
}
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

X-TIMESTAMP

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

Authorization

curl --location --request POST 'http://localhost:9007/api/v1.0/invoice/create' \
--header 'X-TIMESTAMP: 2022-08-10T00:00:00+07:00' \
--header 'X-SIGNATURE: 2100e98c9b222c6ed5a90d0f61946360a1586f81732056c828c22188dbe687a59e02e692038a8355b00cb22c5ce3b469cd2f8d83a7013175e50b8e4a480a5c2f' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Njk0OTE5OTcsImlhdCI6MTY2OTQzNzk5NywiaXNzIjoiYnNuYXAifQ.W22-JQ483h5iZ_wzUT-NlnwxXgrPX_58ftxrnXZe0gfHh3NViNawDyLtTmRh8e8ODUbznolc0iWUsdokfHXalw' \
--header 'X-PARTNER-ID: TokoNetmeClientId' \
--header 'X-EXTERNAL-ID: 41807553358950093184162180797837' \
--header 'CHANNEL-ID: 95221' \
--data-raw '{
    "custIdMerchant": "M_uUByxy5E",
    "partnerReferenceNo": "testing1234",
    "payMethods": [
        "BANK_TRANSFER"
    ],
    "amount": {
        "value": "100.00",
        "currency": "IDR"
    },
    "additionalInfo": {
        "email": "testabc@gmail.com",
        "notes": "desc",
        "description": "description",
        "phoneNumber": "+62813293333333",
        "imageUrl": "",
        "fullname": "Tester 2"
    },
    "amountDetail": {
        "basicAmount": {
            "value": "100.00",
            "currency": "IDR"
        },
        "shippingAmount": {
            "value": "50.00",
            "currency": "IDR"
        }
    },
    "commissionPercentage": 0
}'

PreviousGet QRIS Acquire TransactionNextCreate Invoice Transaction

Last updated 10 months ago

Service’s signature (given at )

Client`s access for protected resources (given at )

Authentication
transactional signature