Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mayar.id/llms.txt

Use this file to discover all available pages before exploring further.

curl --request GET 'https://api.mayar.id/hl/v1/transactions/unpaid?page=1&pageSize=10' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here'
{
    "statusCode": 200,
    "messages": "success",
    "hasMore": true,
    "pageCount": 28,
    "pageSize": 10,
    "page": 1,
    "data": [
        {
            "id": "040d5adb-1496-45de-8435-5cab16526a8c",
            "createdAt": 1755627439078,
            "type": "payment_request",
            "amount": 100000,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "e890d24a-cfc0-4915-83d2-3166b9ffba9e",
            "customerId": "ae57ce73-89a2-46a7-84d7-93a616ef220e",
            "customeField": null,
            "customer": {
                "id": "ae57ce73-89a2-46a7-84d7-93a616ef220e",
                "email": "azumiikecee@gmail.com",
                "name": "Azumii",
                "mobile": "08996136751"
            },
            "paymentLink": {
                "id": "e890d24a-cfc0-4915-83d2-3166b9ffba9e",
                "category": null,
                "createdAt": 1755627438790,
                "description": "Ubah ReqPayment",
                "link": "ohsjrd3wko",
                "name": "Azumii",
                "redirectUrl": "https://web.mayar.id.",
                "userId": "348e083d-315a-4e5c-96b1-5a2a98c48413",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/040d5adb-1496-45de-8435-5cab16526a8c"
        },
        {
            "id": "23fa41c5-c6ed-45d4-8302-5fac4a165dfa",
            "createdAt": 1755621464062,
            "type": "invoice",
            "amount": 110000,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "f774034d-d9cc-43a0-97d8-a2520c127f03",
            "customerId": "ae57ce73-89a2-46a7-84d7-93a616ef220e",
            "customeField": null,
            "customer": {
                "id": "ae57ce73-89a2-46a7-84d7-93a616ef220e",
                "email": "azumiikecee@gmail.com",
                "name": "Azumii",
                "mobile": "08996136751"
            },
            "paymentLink": {
                "id": "f774034d-d9cc-43a0-97d8-a2520c127f03",
                "category": null,
                "createdAt": 1755621463743,
                "description": "Berubah Jadi Invoice Yang Sudah Diedit",
                "link": "ibzfrf4880",
                "name": "INVOICE",
                "redirectUrl": "https://web.mayar.id",
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/23fa41c5-c6ed-45d4-8302-5fac4a165dfa"
        },
        {
            "id": "03f2e6e9-78c6-428c-999f-c02fdb067e32",
            "createdAt": 1755533945187,
            "type": "membership_payment",
            "amount": 104930,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "fdc44ac4-d06b-4906-ab3a-e35b61c1a6d0",
            "customerId": "ce1234f3-6843-4d5c-8838-b7d6f7506955",
            "customeField": null,
            "customer": {
                "id": "ce1234f3-6843-4d5c-8838-b7d6f7506955",
                "email": "trial@gmail.com",
                "name": "trial",
                "mobile": "0884444730242"
            },
            "paymentLink": {
                "id": "fdc44ac4-d06b-4906-ab3a-e35b61c1a6d0",
                "category": null,
                "createdAt": 1755533914224,
                "description": "Pembayaran Paket Membership paket 2 - Andika",
                "link": "3j2z9bb1e5",
                "name": "Tagihan Membership - paket 2",
                "redirectUrl": null,
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/03f2e6e9-78c6-428c-999f-c02fdb067e32"
        },
        {
            "id": "252fdc97-e14f-404a-956d-06262a7f2245",
            "createdAt": 1755511718734,
            "type": "generic_link",
            "amount": 10489,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "8872687f-f548-4327-b59b-1be9e8b9aa36",
            "customerId": "ce1234f3-6843-4d5c-8838-b7d6f7506955",
            "customeField": null,
            "customer": {
                "id": "ce1234f3-6843-4d5c-8838-b7d6f7506955",
                "email": "trial@gmail.com",
                "name": "trial",
                "mobile": "0884444730242"
            },
            "paymentLink": {
                "id": "8872687f-f548-4327-b59b-1be9e8b9aa36",
                "category": null,
                "createdAt": 1731653740699,
                "description": "<p>Hshshwhwh</p>",
                "link": "Hshshshshsh",
                "name": "Hshshshshsh",
                "redirectUrl": "",
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": "162c8020-fdb0-4504-8999-4d23cfb96fdf",
                "multipleImageId": null,
                "multipleImage": null,
                "coverImage": {
                    "id": "162c8020-fdb0-4504-8999-4d23cfb96fdf",
                    "fileType": "jpeg",
                    "url": "https://media.mayar.id/images/162c8020-fdb0-4504-8999-4d23cfb96fdf.jpeg"
                }
            },
            "paymentUrl": "https://andiak.myr.id/plt/252fdc97-e14f-404a-956d-06262a7f2245"
        },
        {
            "id": "05321c55-9c78-4627-b689-23e24d7e7957",
            "createdAt": 1755256632035,
            "type": "membership_payment",
            "amount": 41972,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "a33ce773-2380-48da-b891-e89a32170c7d",
            "customerId": "6a38cf26-6bab-42c8-92be-72f3a9fd4c33",
            "customeField": null,
            "customer": {
                "id": "6a38cf26-6bab-42c8-92be-72f3a9fd4c33",
                "email": "mayartesting05@gmail.com",
                "name": "Harus Buat auto testing",
                "mobile": "081320547877"
            },
            "paymentLink": {
                "id": "a33ce773-2380-48da-b891-e89a32170c7d",
                "category": null,
                "createdAt": 1755256271521,
                "description": "Pembayaran Paket Membership paket 1 - Andika",
                "link": "evq5sq825kf",
                "name": "Tagihan Membership - paket 1",
                "redirectUrl": null,
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/05321c55-9c78-4627-b689-23e24d7e7957"
        },
        {
            "id": "7943b939-fb78-4e8c-bb3a-b9b26e5eb9be",
            "createdAt": 1755256538587,
            "type": "membership_payment",
            "amount": 14840,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "a33ce773-2380-48da-b891-e89a32170c7d",
            "customerId": "6a38cf26-6bab-42c8-92be-72f3a9fd4c33",
            "customeField": null,
            "customer": {
                "id": "6a38cf26-6bab-42c8-92be-72f3a9fd4c33",
                "email": "mayartesting05@gmail.com",
                "name": "Harus Buat auto testing",
                "mobile": "081320547877"
            },
            "paymentLink": {
                "id": "a33ce773-2380-48da-b891-e89a32170c7d",
                "category": null,
                "createdAt": 1755256271521,
                "description": "Pembayaran Paket Membership paket 1 - Andika",
                "link": "evq5sq825kf",
                "name": "Tagihan Membership - paket 1",
                "redirectUrl": null,
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/7943b939-fb78-4e8c-bb3a-b9b26e5eb9be"
        },
        {
            "id": "82472171-f815-4cac-b8a9-f924cbceec35",
            "createdAt": 1755256520598,
            "type": "membership_payment",
            "amount": 14840,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "a33ce773-2380-48da-b891-e89a32170c7d",
            "customerId": "6a38cf26-6bab-42c8-92be-72f3a9fd4c33",
            "customeField": null,
            "customer": {
                "id": "6a38cf26-6bab-42c8-92be-72f3a9fd4c33",
                "email": "mayartesting05@gmail.com",
                "name": "Harus Buat auto testing",
                "mobile": "081320547877"
            },
            "paymentLink": {
                "id": "a33ce773-2380-48da-b891-e89a32170c7d",
                "category": null,
                "createdAt": 1755256271521,
                "description": "Pembayaran Paket Membership paket 1 - Andika",
                "link": "evq5sq825kf",
                "name": "Tagihan Membership - paket 1",
                "redirectUrl": null,
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/82472171-f815-4cac-b8a9-f924cbceec35"
        },
        {
            "id": "f8b0ffba-c1bb-47c6-bd31-4b33fdbe3dd6",
            "createdAt": 1755256470651,
            "type": "membership_payment",
            "amount": 10493,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "586a2d96-41bb-4940-b54f-9d3dfdaf069e",
            "customerId": "3a5d26f9-894d-47e8-b9e7-4f611979b007",
            "customeField": null,
            "customer": {
                "id": "3a5d26f9-894d-47e8-b9e7-4f611979b007",
                "email": "muslimbasic8@gmail.com",
                "name": "Raihan",
                "mobile": "081320547877"
            },
            "paymentLink": {
                "id": "586a2d96-41bb-4940-b54f-9d3dfdaf069e",
                "category": null,
                "createdAt": 1755256364050,
                "description": "Pembayaran Paket Membership paket 2 - Andika",
                "link": "e7uvqy4gbb9",
                "name": "Tagihan Membership - paket 2",
                "redirectUrl": null,
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/f8b0ffba-c1bb-47c6-bd31-4b33fdbe3dd6"
        },
        {
            "id": "6457c7ae-632a-4708-acee-582cde2352b0",
            "createdAt": 1755256342870,
            "type": "membership_payment",
            "amount": 10493,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "bd98b446-1373-4842-a129-c75af36a9bf9",
            "customerId": "ce1234f3-6843-4d5c-8838-b7d6f7506955",
            "customeField": null,
            "customer": {
                "id": "ce1234f3-6843-4d5c-8838-b7d6f7506955",
                "email": "trial@gmail.com",
                "name": "trial",
                "mobile": "0884444730242"
            },
            "paymentLink": {
                "id": "bd98b446-1373-4842-a129-c75af36a9bf9",
                "category": null,
                "createdAt": 1755244488205,
                "description": "Pembayaran Paket Membership paket 2 - Andika",
                "link": "sei6i61sv4",
                "name": "Tagihan Membership - paket 2",
                "redirectUrl": null,
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/6457c7ae-632a-4708-acee-582cde2352b0"
        },
        {
            "id": "dd33202d-bab4-4283-9b78-b9f4f1ba308e",
            "createdAt": 1755256318689,
            "type": "membership_payment",
            "amount": 13640,
            "status": "active",
            "urlParamTrackingData": null,
            "paymentLinkId": "75130b99-5ecf-4846-967a-a240d75721b4",
            "customerId": "db721f94-2f69-46de-8744-46066dd42af6",
            "customeField": null,
            "customer": {
                "id": "db721f94-2f69-46de-8744-46066dd42af6",
                "email": "mayartesting19@gmail.com",
                "name": "test UIUX",
                "mobile": "6281320549999"
            },
            "paymentLink": {
                "id": "75130b99-5ecf-4846-967a-a240d75721b4",
                "category": null,
                "createdAt": 1755256280592,
                "description": "Pembayaran Paket Membership paket 3 - Andika",
                "link": "bn046sqay3",
                "name": "Tagihan Membership - paket 3",
                "redirectUrl": null,
                "userId": "8afa8430-9ccd-4d33-9c1b-e0999a319994",
                "coverImageId": null,
                "multipleImageId": null,
                "coverImage": null,
                "multipleImage": null
            },
            "paymentUrl": "https://andiak.myr.id/plt/dd33202d-bab4-4283-9b78-b9f4f1ba308e"
        }
    ],
    "total": 278
}
Endpoint:
https://api.mayar.id/hl/v1/transactions/unpaid?page=1&pageSize=10

Authorizations

Authorization
string
required
Example:Authorization | Bearer Paste-Your-API-Key-Here

Query Parameters

page
integer
default:1
required
Determine which page.
pageSize
integer
default:10
required
How much data is displayed on the page.

Response

Successful Response

Main Structure (Root)

statusCode
integer
Status code form API.
messages
string
Status message that describes the status code.
hasMore
boolean
Information on whether there is additional data to be retrieved (true/false).
pageCount
integer
Total number of data pages.
pageSize
integer
Number of items per page.
page
integer
The page currently displayed.
data
array of object
List of invoices displayed.

data Structure (Array Of Object)

id
string<uuid>
Unique ID for the balance transaction history.
createdAt
number (timestamp)
The transaction creation time in epoch format (ms).
type
string
The type of transaction.
amount
integer
Payment amount
status
string
Request status (active = still valid).
urlParamTrackingData
string | null
Data tracking via additional URL parameters (if any).
The ID of the payment link used.
customerId
string<uuid>
The unique ID of the customer who made the transaction.
customeField
object | null
additional custom fields that can be filled in by the user (if any).
customer
array of object
Customer data that makes transactions.
Payment link information used for transactions.
paymentUrl
string
Unique URL to pay for this request.

customer Structure (Array Of Object)

id
string <uuid>
Unique customer ID.
email
string
Customer’s email address.
name
string
Customer’s name.
mobile
string
Customer’s mobile phone number.
id
string <uuid>
ID payment link.
category
string | null
Product category, can be null if there is no category.
createdAt
number | timestamp
Product creation time in epoch milliseconds format.
description
string
Product description.
Product slug/short URL.
name
string
Product name.
redirectUrl
string
Redirect destination URL.
userId
string<uuid>
User ID of the payment link owner.
coverImageId
string | null
ID cover image, can be null.
multipleImageId
string | null
ID for multiple image group.
coverImage
object | null
Cover image data, can be null.
multimpleImage
object | null
List of additional images for the product.