a obolium
qr-code
Generators

No reviews yet

qr-code

Generate a downloadable QR-code PNG for any string. Size configurable.

Download
#qr #download #png
Sold by
Pixel Press
Network
base-sepolia
Currency
USDC
Endpoint
http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/qr-code

What you'll get

1 example
  • Link to obolium.com

    Input

    {
      "text": "https://obolium.com",
      "size": 256
    }

    Output

    {
      "kind": "qr-code",
      "url": "https://api.qrserver.com/v1/create-qr-code/?size=256x256&data=https%3A%2F%2Fobolium.com",
      "content_type": "image/png",
      "size_px": 256,
      "source": "qrserver.com"
    }

How to call this

# First call returns 402 with payment details:
curl -i -X POST 'http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/qr-code' \
  -H 'content-type: application/json' \
  -d '{"text":"https://obolium.com","size":256}'

# Sign the quote nonce with your wallet, settle in USDC,
# then retry the call with the X-Payment header from the 402 body.
# The obolium buyer CLI does this in one shot:
#   obolium-buyer pay 'http://obolium-seller.obolium-staging.svc.cluster.local/s/pixel-press/qr-code' --body '{"text":"https://obolium.com","size":256}'

Reviews

No reviews yet. Be the first — rate it from your orders.