Activate Collection

Activating a collection can only be done on collection that is already deactivated. Refer to Deactivate Collection to know more on how to deactivate a collection.

Authentication

LeanX uses Auth Token to authenticate in each request's header.

Auth Token can be retrieved in your portal dashboard under API page.

Request Header

{
    "auth-token": "LP-0D7C06DE-MM|7394e58e-edee-4c42-9ca5-bcbc449f1b9f|2141df4a3cb633d5ce8683bb0c55067e5caebfbe07390dde277dc455bcc95c91723a81b5e565c7c02d68fb84e396722563016bf99e576a4b8cdbe4423fbf226b"
}

Activate a Collection

This will create a bill and return a link to our LeanX Payment page.

HTTP Method: POST

https://api.leanx.dev/api/v1/merchant/activate-payment-collection

Request Body

{
    "_id": 99
}

Attributes

Property
Type
Description

_id*

Number

Your Collection ID

Response

Last updated