Skip to main content
POST
/
v1
/
payouts
/
qr-codes
/
preview
curl --location --request POST 'https://stablecoin-api.sandbox.getmeru.com/v1/payouts/qr-codes/preview' \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data-raw '{
    "onBehalfOf": "123",
    "qrCodeHash": "abc123def456",
    "country": "BO"
}'
{
  "qrCodeId": "QR123456789",
  "isOpen": false,
  "localAmount": 100.50,
  "currency": "BOB",
  "usdcAmount": 14.25,
  "usdcRate": 7.05,
  "recipientName": "Juan Pérez",
  "recipientLegalId": "12345678",
  "isExpired": false,
  "description": "Payment for services",
  "destinationAccountNumber": "1234567890"
}

Body

onBehalfOf
string
required
The identifier of the user or entity on whose behalf the payout is being made
qrCodeHash
string
required
The QR code hash to preview details for
country
string
required
The country code for the QR code (e.g., “BO”)

Response

qrCodeId
string
The QR code identifier
isOpen
boolean
Indicates whether the QR code is open for any amount (true when localAmount is 0)
localAmount
number
The local currency amount for the QR code
currency
string
The local currency code (e.g., “BOB”)
usdcAmount
number
The equivalent USDC amount
usdcRate
number
The exchange rate used for USDC conversion
recipientName
string
The name of the recipient
The legal ID (CI) of the recipient
isExpired
boolean
Indicates whether the QR code has expired
description
string
Description or notes for the QR code payment
destinationAccountNumber
string
The destination account number for the payment
curl --location --request POST 'https://stablecoin-api.sandbox.getmeru.com/v1/payouts/qr-codes/preview' \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data-raw '{
    "onBehalfOf": "123",
    "qrCodeHash": "abc123def456",
    "country": "BO"
}'
{
  "qrCodeId": "QR123456789",
  "isOpen": false,
  "localAmount": 100.50,
  "currency": "BOB",
  "usdcAmount": 14.25,
  "usdcRate": 7.05,
  "recipientName": "Juan Pérez",
  "recipientLegalId": "12345678",
  "isExpired": false,
  "description": "Payment for services",
  "destinationAccountNumber": "1234567890"
}

Error Responses

{
  "success": false,
  "error": "Invalid QR code hash format"
}