Payments

Create QRIS payment

Creates a QRIS payment with no payment link. Returns the QR code to show your payer.

POST
/payments/qris

Creates a QRIS payment with no payment link. Returns the QR code to show your payer.

Authorization

secretKey
AuthorizationBearer <token>

Sandbox try-it accepts sk_test_… only.

In: header

Header Parameters

Idempotency-Key?string

A unique value per logical operation, so retries are safe. Retained for 24 hours, scoped to your API key.

Lengthlength <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/payments/qris" \  -H "Idempotency-Key: 8f14e45f-ceea-467a-9575-8f14e45fceea" \  -H "Content-Type: application/json" \  -d '{    "amount": 75000  }'
{  "data": {    "id": "5e8a2c71-0f4b-4d93-b6a8-1c7e9d3f2a65",    "reference_id": null,    "type": "API Payment",    "created_by": {      "type": "API",      "id": "7d1e4a92-3b6c-4f08-a5d2-9c8b1e0f6a34",      "name": "Production server"    },    "title": "QRIS - 278291081",    "status": "pending",    "amount": 75000,    "fee": {      "total": 525,      "transaction": 525,      "instant_settlement": 0,      "paid_by": "me"    },    "payer_amount": 75000,    "net_amount": 74475,    "payment_method": "QRIS",    "category": {      "id": "3c2b1a09-8d7e-4f6a-9b5c-4d3e2f1a0b9c",      "name": "Money In"    },    "instructions": {      "type": "qris",      "bank": null,      "va_number": null,      "qr_string": "00020101021226670016COM.NOBUBANK.WWW01189360050300000879140214278291081",      "qr_image_url": "https://example.com/qris/278291081.png"    },    "settlement_account_id": "9f8e7d6c-5b4a-3210-fedc-ba9876543210",    "expires_at": "2026-09-16T03:25:00Z",    "paid_at": null,    "settle_at": null,    "settled_at": null,    "created_at": "2026-09-15T03:30:00Z"  },  "meta": {    "request_id": "req_01J8Z3K9QW"  }}