API Docs
  • Introduction
  • Credential
  • Error Codes
  • Token Validation
  • Signature Validation
  • Quick Start
    • Accepting via Payment Page
    • Accepting Using Own Page
    • Paying Out
  • ACCOUNT
    • Pool Balance
  • Cloud Payment
    • Payment Service
    • Collection
      • Create Collection
      • Manage
        • Get Collection List
        • Get a Collection
        • Update Collection
        • Activate Collection
        • Deactivate Collection
        • Delete Collection
    • Bill
      • Create Bill
      • Callback
      • Manage
        • Get Bill List
        • Get a Bill
        • Get Bill Transaction Status
        • Update Bill
        • Delete Bill
    • Transaction List
    • Transaction Status
  • Payout
    • Payout Service
    • Payout Transaction List
    • Create Payout
    • Payout Status
      • Callback
      • Status Checking
    • Bank Account Verification
      • Bank Verification Channel ( Deprecated )
      • Bank Account Validation
  • Suite Plugin
    • Woocommerce
    • Open Cart
  • Library
    • Credit Card
  • SUPPORT
    • Frequently Asked Question
Powered by GitBook
On this page
  • Authentication
  • Deactivate a Collection
  1. Cloud Payment
  2. Collection
  3. Manage

Deactivate Collection

This API is used to deactivate an active 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"
}

Deactivate a Collection

HTTP Method: POST

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

Request Body

{
    "_id": 99
}

Attributes

Property
Type
Description

_id*

Number

Response

{
  "response_code": 2000,
  "description": "SUCCESS",
  "app_version": "/api/v1",
  "talk_to_server_before": "2023-02-01T06:34:36.269797",
  "data": {
    "description": "<p>This is a public API collection description</p>",
    "enable_billing_address": false,
    "min_amount": 10.00,
    "title": "TEST COLLECTION",
    "fixed_amount": true,
    "id": 15,
    "uuid": "CL-AUTH-ADA0B0240E-LNP",
    "record_status": 2,
    "updated_at": "2023-02-01T06:34:35",
    "created_at": "2023-01-25T11:14:40"
  },
  "breakdown_errors": null,
  "token": "dbd44a99-2d0f-470d-91fe-c73e8cdd1848"
}
PreviousActivate CollectionNextDelete Collection

Last updated 11 months ago

Your ID

Collection