Information and details needed for access to our API
These endpoints represent the functionality exhibited by Mainloop Pay, both for more traditional API service functionality and for connecting to popular CMSs and related functionality.
Version: 2.0.0
More information:https://pay.mainloop.rs
API Root Path: https://pay.mainloop.rs/api/v2/
Endpoint for access to the Mainloop API.
x-api-keynecessary
You should forward each request via this header.
Content Type: application/json
Method: POST
Route: /ipsqr
ParametersObject
- account string — Requires account number.
- acceptant string — Requests recipient information.
- amount string — Requires total price / value.
- currency string — Requires the currency in which it's paid.
- payer string — Requests payer information.
- paymentCode string — Requires a payment code.
- purpose string — Requires the purpose of payment.
- model string — Requires a payment model.
- callOn string — Requires approval number.
Method: POST
Route: /pay
ParametersObject
- account string — Requires account number.
- acceptant string — Requests recipient information.
- amount string — Requires total price / value.
- currency string — Requires the currency in which it's paid.
- payer string — Requests payer information.
- paymentCode string — Requires a payment code.
- purpose string — Requires the purpose of payment.
- model string — Requires a payment model.
- callOn string — Requires approval number.
Type: Text
Example of an answer: https://pay.mainloop.rs/qr1614025604963.png
Note
All generated images are stored for 7 days from the moment of generation, after which they are permanently deleted
Example of a body to be forwarded:
Example of IPS QR Code

Example of Payment slip
