Prerequisites
{{aggregator_id}}and{{secret_key}}aggregator_merchant_identifierfor the merchant collecting funds
Flow summary
1
Load merchant identifiers
Retrieve the
aggregator_merchant_identifier from the merchant creation response.2
Create the static QR
Call
POST /v1/aggregators/{{aggregator_id}}/qrs with type: STATIC.3
Render and share
Render the returned
data.code and distribute it digitally or physically.4
Reconcile payments
Match webhook payloads or list QR payments to reconcile each payment.
Set
{{base_url}} to https://dev.api.getsafepay.com/raastwire in Sandbox or https://api.getsafepay.com/raastwire in Production.Static QR
- Request Fields
- API Example
- Sample Response
Rendering tips
- Feed
data.codeto any QR generation library (qrcode.react,qr-image, etc.). - Print the QR with usage instructions or embed it in digital invoices.
- Use
GET /v1/aggregators/{{aggregator_id}}/qrs/{{qr_id}}/paymentsto list transactions tied to this QR.
Webhook events to expect
payment.createdpayment.completedpayment.settledpayment.failedpayment.rejected