API Documentation
Revenue Tracking API
Documentation for Linkrunner Revenue Tracking API
This documentation is for tracking revenue from your backend only! For tracking revenue from your app please go through the Flutter or React Native documentation.
Base URL
Authentication
Generate your server code from https://www.linkrunner.io/settings?s=data-apis
In the request header add the below attribute:
Capture payment
Request Body
NOTE: If you accept payments in multiple currencies convert them to one currency before calling the API.
Responses
- 201 Payment captured
- 401 Invalid server key
Remove captured payment
Request Body
NOTE: user_id
or payment_id
is required in order to remove a payment entry. If you pass user_id
, all the payments attributed to that user will be removed!
Responses
- 200 Payment entry/entries deleted
- 400 No payment found with the given payment id or user id
- 401 Invalid server key