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 pin

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

POST https://tokoapisnap-stg.netzme.com/api/{version}/merchant/create-pin

Parameter
Data Type
Description

custIdMerchant

String

User ID provided by netzme

partnerReferenceNo

String

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

additionalInfo

Object

pin

String

User PIN

type

String

type of request, for created pin, the type is "created_pin"

{
    "custIdMerchant": "M_F5rX23Vw",
    "partnerReferenceNo": "testing20210420090452526",
    "additionalInfo": {
        "pin": "3db6b20266c102a909ce2adb404e5260c01928b87956f106f36bec745b8e1d2a",
        "type": "create_pin"
    }
}
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

additionalInfo

Object

type

String

Type of request

Response Body

{
    "responseCode": "4040020",
    "responseMessage": "PIN already exist with different value",
    "partnerReferenceNo": "testing20210420090452526",
    "additionalInfo": {
        "type": "create_pin"
    }
}

curl --location -g --request POST 'http://localhost:9090/api/v1.0/merchant/create-pin' \
--header 'X-TIMESTAMP: 2022-08-10T00:00:00+07:00' \
--header 'X-SIGNATURE: e31fd35336dd3db025b5f78459661f7a00595a039237e611bca5f736b89dbab0e30140aa4ae29ea89a3f205be080b4a0a992743fb92646150bd642a1641e6adc' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjkzMTUwMTksImlhdCI6MTY2OTI2MTAxOSwiaXNzIjoiYmFua3N1bXBhaCJ9.eCt0QNx1J2CgK5T3SRNkCgGqxRfexVw_MGntV1UiO8KI2qAiIpL3jgB31HfzNuUeqYu9lXNi27RIbGoxrxVE-Q' \
--header 'X-PARTNER-ID: TokoNetmeClientId' \
--header 'X-EXTERNAL-ID: 41807553358950093184162180797837' \
--header 'CHANNEL-ID: 95221' \
--data-raw '{
    "custIdMerchant": "M_TB1NMLig",
    "partnerReferenceNo":"testing20210420090452526",
    "additionalInfo":{
        "pin":"3db6b20266c102a909ce2adb404e5260c01928b87956f106f36bec745b8e1d2a",
        "type":"create_pin"
    }   
}’

PreviousAuthenticationNextForgot pin

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