Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Sample Payload / Postman Collection for Billing Usage API #36

Open
dushmanta05 opened this issue May 28, 2024 · 0 comments
Open

Comments

@dushmanta05
Copy link

Hello,

I'm trying to integrate a marketplace application, and I need to send the billing usage for each client using it. I tried searching for documents and references, but there were none. I'm finding it very difficult to integrate this billing usage implementation. I've got only the endpoint but I don't have any idea what to send in the body. I know it's not the preferable place to ask, but any sample payload and postman collection on this would be very much appreciated. Thank you.

Currently, the only information I have is:

API URL:

And in the body I'm sending the following data

{
    "account": {
        "accountIdentifier": "OrganizationID"
    },
    "items": [
        {
            "unit": "EMPLOYEE",
            "quantity": "No. of worker belongs to the client"
        }
    ]
}

But unfortunately, when I send this data, I get an error like this:

{
    "status": 400,
    "code": "Bad Request",
    "message": "One or more mandatory fields are missing, null or empty in the API request. Please update the request and submit again."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant