curl --request GET \
--url https://sandbox.hyperswitch.io/v2/merchant-accounts/{id} \
--header 'api-key: <api-key>'
{
"id": "y3oqhf46pyzuxjbcn2giaqnb44",
"merchant_name": "NewAge Retailer",
"merchant_details": {
"primary_contact_person": "John Doe",
"primary_phone": "999999999",
"primary_email": "johndoe@test.com",
"secondary_contact_person": "John Doe2",
"secondary_phone": "999999988",
"secondary_email": "johndoe2@test.com",
"website": "www.example.com",
"about_business": "Online Retail with a wide selection of organic products for North America",
"address": {
"city": "New York",
"country": "AF",
"line1": "123, King Street",
"line2": "Powelson Avenue",
"line3": "Bridgewater",
"zip": "08807",
"state": "New York",
"first_name": "John",
"last_name": "Doe",
"origin_zip": "08807"
},
"merchant_tax_registration_id": "123456789"
},
"publishable_key": "AH3423bkjbkjdsfbkj",
"metadata": {},
"organization_id": "org_q98uSGAYbjEwqs0mJwnz",
"recon_status": "not_requested",
"product_type": "orchestration"
}
Retrieve a merchant account details.
curl --request GET \
--url https://sandbox.hyperswitch.io/v2/merchant-accounts/{id} \
--header 'api-key: <api-key>'
{
"id": "y3oqhf46pyzuxjbcn2giaqnb44",
"merchant_name": "NewAge Retailer",
"merchant_details": {
"primary_contact_person": "John Doe",
"primary_phone": "999999999",
"primary_email": "johndoe@test.com",
"secondary_contact_person": "John Doe2",
"secondary_phone": "999999988",
"secondary_email": "johndoe2@test.com",
"website": "www.example.com",
"about_business": "Online Retail with a wide selection of organic products for North America",
"address": {
"city": "New York",
"country": "AF",
"line1": "123, King Street",
"line2": "Powelson Avenue",
"line3": "Bridgewater",
"zip": "08807",
"state": "New York",
"first_name": "John",
"last_name": "Doe",
"origin_zip": "08807"
},
"merchant_tax_registration_id": "123456789"
},
"publishable_key": "AH3423bkjbkjdsfbkj",
"metadata": {},
"organization_id": "org_q98uSGAYbjEwqs0mJwnz",
"recon_status": "not_requested",
"product_type": "orchestration"
}
Admin API keys allow you to perform some privileged actions such as creating a merchant account and Connector account.
The unique identifier for the merchant account
Merchant Account Retrieved
The response is of type object
.
Was this page helpful?