---
title: "POST Generate QRIS"
method: POST
path: "/snap-adapter/b2b/v1.0/qr/qr-mpm-generate"
tags: ["QRIS"]
---

# POST Generate QRIS

`POST /snap-adapter/b2b/v1.0/qr/qr-mpm-generate`

## Headers

- `X-PARTNER-ID` string, required
- `X-EXTERNAL-ID` string, required
- `X-TIMESTAMP` string, required
- `X-SIGNATURE` string, required
- `Authorization` string, required
- `CHANNEL-ID` string, required

## Request body

- GenerateQrisRequest
  - `partnerReferenceNo` string, required — Transaction ID from partners
  - `amount` object, required — Detail Amount
    - `value` string, required — Net amount of the transaction. If it's IDR then the value includes 2 decimal digits. e.g. IDR 10.000,- will be placed with 10000.00 with 2 decimal
    - `currency` string, required — Currency (ISO4217) Default “IDR”
  - `merchantId` string, required — Credential mall ID from DOKU
  - `terminalId` string, required — Terminal Identification alphanumeric
  - `validityPeriod` string — Expired Time QRIS using ISO 8601 Format, if not sent will use Default value 30 days
  - `additionalInfo` object, required — Additional Information use to determine QRIS postal code & feeType, also used in order to fulfill non-mandatory parameters for QRIS Merchant
    - `postalCode` string, required — User postal code address Numeric
    - `feeType` string, required — Parameter to describe fee type that will be used: 1. No Tips

## Response `200`

OK

- GenerateQrisResponse
  - `responseCode` string
  - `responseMessage` string
  - `referenceNo` string
  - `partnerReferenceNo` string
  - `qrContent` string
  - `terminalId` string
  - `additionalInfo` object — Additional Information, values are based from object additionalInfo in generate qris request operation
    - `validityPeriod` string
    - `postalCode` string — User postal code address Numeric
    - `feeType` string — Parameter to describe fee type that will be used: 1. No Tips

---

[API](https://skmtc.net/doku/apis/direct-debit-core-system-notify-binding-to-merchant-emoney-o.md) · [All operations](https://skmtc.net/doku/apis/direct-debit-core-system-notify-binding-to-merchant-emoney-o/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doku/direct-debit-core-system-notify-binding-to-merchant-emoney-o/revisions/7887174f57bc/schema)
