Create Collection

Collection is a collection of bills. As an example, you may create a 'Rental' Collection for bill related to rental.

HTTP Method: POST

https://api.payright.my/api/v1/merchant/collections

Request Body

{
  "title": "NORMAL_COLLECTION",
  "description": "Normal Collection Description"
}

Attributes

Property
Type
Description

title*

String

Title of your collection

description*

String

Description of the collection

Response

{
  "status": "ok",
  "code": 200,
  "data": {
    "collection_uuid": "PyC0D7F54A90rgt",
    "title": "NORMAL_COLLECTION",
    "status": "ACTIVE"
  }
}

Last updated