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

[REFACTOR]: (merchant_account_v2) move organization_id from request body to headers #6237

Open
Narayanbhat166 opened this issue Oct 4, 2024 · 2 comments · May be fixed by #6277
Open

[REFACTOR]: (merchant_account_v2) move organization_id from request body to headers #6237

Narayanbhat166 opened this issue Oct 4, 2024 · 2 comments · May be fixed by #6277
Assignees
Labels

Comments

@Narayanbhat166
Copy link
Member

When creating the merchant account, the request body is

{
    "merchant_name": "cloth_seller",
    "organization_id": "org_tdhdTbv3z85XtxXGgVHS"
}

Here organization_id is the hierarchy_id / lineage id. This should be moved to a header called X-Organization-Id. Necessary changes have to be made in the handlers wherever this is affected. In this case only merchant account create would be affected.

@shivam-jainn
Copy link
Contributor

Can i work on this?

@gorakhnathy7
Copy link
Collaborator

Hey @shivam-jainn,
Thanks for your interest.
But, This has already been worked upon by a team member, You can pick an issue from this pool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants