copy Copy chevron-down
MARKETPLACE π Create an ApplicationGuide to creating your first application
Private
Available to you and your sub accounts (if Agency tariff), moderation-free
Public
Available to all users of the platform after moderation
To integrate with the Marketplace, you need to implement a separate application service that communicates with both the POS system and the Marketplace.
This service must expose several endpoints that the Marketplace will interact with.
Check Credentials
post
https://app-domain.example /check-credentials This method is used to verify the user credentials specified when installing the application.
Body
application/json chevron-down application/json
credentials object[] Optional Show properties plus
Response object
Show properties plus
post
https://app-domain.example /get-inventory This method is used to retrieve an inventory tree (for example, a restaurant menu).
The method is used during application installation and when inventory-based rules are triggered.
Body
application/json chevron-down application/json
credentials object[] Optional Show properties plus
Response object
Show properties plus
Example app for marketplace
Marketplace API Documentation
https://docs.dev.boomerangme.cards/#tag/Marketplace-APIarrow-up-right
Check credentials
post
https://api.digitalwallet.cards /api/v2/marketplace/resolve-credentials Retrieve a bundle of app installation credentials using any one of them.
For example, on a service webhook or at the application service level,
you may only have the merchant ID and need to obtain the service API token.
X-App-Token string Required App static authorization token
Body
application/json chevron-down application/json
names string[] Required Optional credential names to return.
If not specified, all merchant credentials are returned.
credentials object[] Β· min: 1 Optional Show properties plus
Response object
Show properties plus
post
https://api.digitalwallet.cards /api/v2/marketplace/accrue Perform an accrual action on a purchase.
A customer's phone number, email, or card serial number is required to find or register a loyalty card.
X-App-Token string Required App static authorization token
Body
application/json chevron-down application/json
check one of Β· nullable Required
object Optional
Show properties plus
phone string Β· nullable Optional email string Β· nullable Optional firstName string Β· nullable Optional lastName string Β· nullable Optional serialNumber string Β· nullable Optional Customer's loyalty card serial number.
transactionId string Β· nullable Required credentials object[] Β· min: 1 Optional Show properties plus
Response object
Show properties plus
post
https://api.digitalwallet.cards /api/v2/marketplace/reverse Revert a previously performed accrual action using the transaction ID.
X-App-Token string Required App static authorization token
Body
application/json chevron-down application/json
transactionId string Β· nullable Required credentials object[] Β· min: 1 Optional Show properties plus
Response object
Show properties plus
Once you have all the data, you can add your application to the Boomerang marketplace.
To do this, go to the Settings -> Apps tab and click βCreate App.β
Enter the name and description of the application.
Enter the URLs for checking credits (required), obtaining a list of products, and Webhook Postback after installation.
Set whether your application will be public (accessible to all users) or not (accessible only to you and your sub-accounts).
Select which accrual rules will be available in your application.
Add the fields required to connect the application:
Field name for API - the name of the field used in the API
Field title for UI - the name of the field that will be displayed in the interface.
Add a description that will also be reflected in the interface.
After adding a public application, you need to submit it for moderation.
Last updated 4 months ago