technical-docs
  • Getting Started
  • Authentication
  • Profile
  • Bank Account
  • Mutation
    • Tagging
  • Topup
  • Webhook
Powered by GitBook
On this page
  • Create Tagging
  • Create
  • Update Tagging
  • Update
  • Get Taggings
  • Fetch
  • Remove Tagging
  • Remove

Was this helpful?

  1. Mutation

Tagging

Tagging for labeled mutation or splited mutation by tagging. you can manage all tagging here...

Create Tagging

The table given below describes the /api/v2/tagging.

Create

POST https://app.moota.co/api/v2/tagging

Request Body

Name
Type
Description

name

string

Name of tagging value

{
  "tagging": {
    "name": "cash",
    "tag_id": "vZExj7Bz59G"
  }
}
{
  "message": "The given data was invalid.",
  "errors": {
    "name": [
      "Kolom name harus diisi."
    ]
  }
}

Update Tagging

The table given below describes the /api/v2/tagging/{tag_id}. Use this API to update an existing beneficiary identified by its tag_id.

Update

PUT https://app.moota.co/api/v2/tagging/{tag_id}

Path Parameters

Name
Type
Description

tag_id

string

Tag Id of identified by tagging

Request Body

Name
Type
Description

name

string

Name of tagging value

{
  "message": "Tag berhasil diupdate"
}
{
  "message": "The given data was invalid.",
  "errors": {
    "name": [
      "Kolom name harus diisi."
    ]
  }
}

Get Taggings

The table given below describes the /api/v2/tagging.

Fetch

GET https://app.moota.co/api/v2/tagging

Query Parameters

Name
Type
Description

tag

string

Name of filter tag by name

{
  "error": false,
  "tagging": [
    {
      "name": "assurance",
      "tag_id": "e42qjy2WGE5"
    },
    {
      "name": "assurance-car",
      "tag_id": "M1Z6zK0jJDY"
    },
  ]
}

Remove Tagging

The table given below describes the /api/v2/tagging/{tag_id}.

Remove

DELETE https://app.moota.co/api/v2/tagging/{tag_id}

Path Parameters

Name
Type
Description

tag_id

string

Tag Id of identified tagging can destroy

{
  "message": "OK"
}
{
  "message": "Data not found"
}
PreviousMutationNextTopup

Last updated 3 years ago

Was this helpful?