Generate a static or dynamic QR to receive money into your PayMongo account

post/v2/qr/generate

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v2/qr/generate
  • Auth
    HTTP basic

Request body

merchant_globally_unique_identifier'com.p2pqrpay' | 'ph.ppmi.p2b' | 'ph.ppmi.p2m' | 'ph.ppmi.p2micro' required

Determines P2P/B/M/micro

merchant_bicstring required

BIC of the acquirer, the merchant that will receive funds

merchant_credit_accountstring required

Account number of the merchant in the acquirer system

merchant_namestring required

Name of the merchant

merchant_citystring required

City name where merchant is located

country_code'PH' required

ISO 3166-1 alpha 2 country code where merchant is located

merchant_category_codestring required

ISO 18245 MCC, this must be 6016 if merchant_globally_unique_identifier is com.p2pqrpay

currencyinteger required

ISO 4217 currency code of 3 digit numeric value, e.g. 608 for PHP

amountnumber float

Amount of transaction in pesos, determines generation of static or dynamic QR, in Pesos

merchant_mobile_number'\+[0-9]{1,3}-[0-9()+\-]{1,30}'

Must match regex \+[0-9]{1,3}-[0-9]()+\-]{1,30}

bill_numberstring

Arbitrary string of 1-35 length, part of Additional Data Field

mobile_number'\+[0-9]{1,3}-[0-9()+\-]{1,30}'

Must match regex, part of Additional Data Field

store_labelstring

Arbitrary string of 1-35 length, part of Additional Data Field

loyalty_numberstring

Arbitrary string of 1-35 length, part of Additional Data Field

reference_labelstring

Arbitrary string of 1-35 length, part of Additional Data Field

customer_labelstring

Arbitrary string of 1-35 length, part of Additional Data Field

terminal_labelstring

Arbitrary string of 1-35 length, part of Additional Data Field

purpose_of_transactionstring

Arbitrary string of 1-35 length, part of Additional Data Field

acquirer_flags'000'

A 3 digit flag signifying the type of merchant account identification type for the acquirer. This is required if merchant_globally_unique_identifier starts with ph.ppmi e.g. ph.ppmi.p2b. Defaults to 000

merchant_idstring

Arbitrary string of 1-35 length. This is required if merchant_globally_unique_identifier starts with ph.ppmi e.g. ph.ppmi.p2b.

Response

datastring

Changes