{
"merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
"enable_payment_response_hash": true,
"redirect_to_merchant_with_http_post": true,
"primary_business_details": [
{
"country": "AF",
"business": "food"
}
],
"organization_id": "org_q98uSGAYbjEwqs0mJwnz",
"is_recon_enabled": true,
"recon_status": "not_requested",
"merchant_account_type": "standard",
"merchant_name": "NewAge Retailer",
"return_url": "https://www.example.com/success",
"payment_response_hash_key": "xkkdf909012sdjki2dkh5sdf",
"merchant_details": {
"primary_contact_person": "John Doe",
"primary_phone": "999999999",
"primary_email": "[email protected]",
"secondary_contact_person": "John Doe2",
"secondary_phone": "999999988",
"secondary_email": "[email protected]",
"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"
},
"webhook_details": {
"payment_statuses_enabled": [
"succeeded",
"failed",
"partially_captured",
"requires_merchant_action"
],
"refund_statuses_enabled": [
"success",
"failure"
],
"webhook_version": "1.0.2",
"webhook_username": "ekart_retail",
"webhook_password": "ekart@123",
"webhook_url": "www.ekart.com/webhooks",
"payment_created_enabled": true,
"payment_succeeded_enabled": true,
"payment_failed_enabled": true,
"payout_statuses_enabled": [
"success",
"failed"
]
},
"payout_routing_algorithm": {
"type": "single",
"data": {
"connector": "authipay",
"merchant_connector_id": "<string>"
}
},
"sub_merchants_enabled": false,
"parent_merchant_id": "xkkdf909012sdjki2dkh5sdf",
"publishable_key": "AH3423bkjbkjdsfbkj",
"metadata": {},
"locker_id": "locker_abc123",
"frm_routing_algorithm": {
"type": "single",
"data": {
"connector": "authipay",
"merchant_connector_id": "<string>"
}
},
"default_profile": "<string>",
"pm_collect_link_config": {
"allowed_domains": [
"<string>"
],
"enabled_payment_methods": "[{\"payment_method\": \"bank_transfer\", \"payment_method_types\": [\"ach\", \"bacs\", \"sepa\"]}]",
"logo": "https://birrpay.io/favicon.ico",
"merchant_name": "BirrPay",
"theme": "#4285F4",
"domain_name": "<string>"
},
"product_type": "orchestration"
}Merchant Account - Update
Updates details of an existing merchant account. Helpful in updating merchant details such as email, contact details, or other configuration details like webhook, routing algorithm etc
{
"merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
"enable_payment_response_hash": true,
"redirect_to_merchant_with_http_post": true,
"primary_business_details": [
{
"country": "AF",
"business": "food"
}
],
"organization_id": "org_q98uSGAYbjEwqs0mJwnz",
"is_recon_enabled": true,
"recon_status": "not_requested",
"merchant_account_type": "standard",
"merchant_name": "NewAge Retailer",
"return_url": "https://www.example.com/success",
"payment_response_hash_key": "xkkdf909012sdjki2dkh5sdf",
"merchant_details": {
"primary_contact_person": "John Doe",
"primary_phone": "999999999",
"primary_email": "[email protected]",
"secondary_contact_person": "John Doe2",
"secondary_phone": "999999988",
"secondary_email": "[email protected]",
"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"
},
"webhook_details": {
"payment_statuses_enabled": [
"succeeded",
"failed",
"partially_captured",
"requires_merchant_action"
],
"refund_statuses_enabled": [
"success",
"failure"
],
"webhook_version": "1.0.2",
"webhook_username": "ekart_retail",
"webhook_password": "ekart@123",
"webhook_url": "www.ekart.com/webhooks",
"payment_created_enabled": true,
"payment_succeeded_enabled": true,
"payment_failed_enabled": true,
"payout_statuses_enabled": [
"success",
"failed"
]
},
"payout_routing_algorithm": {
"type": "single",
"data": {
"connector": "authipay",
"merchant_connector_id": "<string>"
}
},
"sub_merchants_enabled": false,
"parent_merchant_id": "xkkdf909012sdjki2dkh5sdf",
"publishable_key": "AH3423bkjbkjdsfbkj",
"metadata": {},
"locker_id": "locker_abc123",
"frm_routing_algorithm": {
"type": "single",
"data": {
"connector": "authipay",
"merchant_connector_id": "<string>"
}
},
"default_profile": "<string>",
"pm_collect_link_config": {
"allowed_domains": [
"<string>"
],
"enabled_payment_methods": "[{\"payment_method\": \"bank_transfer\", \"payment_method_types\": [\"ach\", \"bacs\", \"sepa\"]}]",
"logo": "https://birrpay.io/favicon.ico",
"merchant_name": "BirrPay",
"theme": "#4285F4",
"domain_name": "<string>"
},
"product_type": "orchestration"
}Authorizations
Admin API keys allow you to perform some privileged actions such as creating a merchant account and Merchant Connector account.
Path Parameters
The unique identifier for the merchant account
Body
The identifier for the Merchant Account
64"y3oqhf46pyzuxjbcn2giaqnb44"
Name of the Merchant Account
"NewAge Retailer"
Show child attributes
Show child attributes
The URL to redirect after the completion of the operation
255"https://www.example.com/success"
Show child attributes
Show child attributes
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Show child attributes
Show child attributes
A boolean value to indicate if the merchant is a sub-merchant under a master or a parent merchant. By default, its value is false.
false
Refers to the Parent Merchant ID if the merchant being created is a sub-merchant
255"xkkdf909012sdjki2dkh5sdf"
A boolean value to indicate if payment response hash needs to be enabled
true
Refers to the hash key used for calculating the signature for webhooks and redirect response.
A boolean value to indicate if redirect to merchant with http post needs to be enabled
true
Metadata is useful for storing additional, unstructured information on an object.
API key that will be used for server side API access
"AH3423bkjbkjdsfbkj"
An identifier for the vault used to store payment method information.
"locker_abc123"
Details about the primary business unit of the merchant account
Show child attributes
Show child attributes
The frm routing algorithm to be used for routing payments to desired FRM's
The default profile that must be used for creating merchant accounts and payments
64Object for GenericLinkUiConfig
Show child attributes
Show child attributes
Response
Merchant Account Updated
The identifier for the Merchant Account
64"y3oqhf46pyzuxjbcn2giaqnb44"
A boolean value to indicate if payment response hash needs to be enabled
true
A boolean value to indicate if redirect to merchant with http post needs to be enabled
true
Details about the primary business unit of the merchant account
Show child attributes
Show child attributes
The organization id merchant is associated with
1 - 64"org_q98uSGAYbjEwqs0mJwnz"
A boolean value to indicate if the merchant has recon service is enabled or not, by default value is false
not_requested, requested, active, disabled standard, platform, connected Name of the Merchant Account
"NewAge Retailer"
The URL to redirect after completion of the payment
255"https://www.example.com/success"
Refers to the hash key used for calculating the signature for webhooks and redirect response. If the value is not provided, a value is automatically generated.
255"xkkdf909012sdjki2dkh5sdf"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Show child attributes
Show child attributes
A boolean value to indicate if the merchant is a sub-merchant under a master or a parent merchant. By default, its value is false.
false
Refers to the Parent Merchant ID if the merchant being created is a sub-merchant
255"xkkdf909012sdjki2dkh5sdf"
API key that will be used for server side API access
"AH3423bkjbkjdsfbkj"
Metadata is useful for storing additional, unstructured information on an object.
An identifier for the vault used to store payment method information.
"locker_abc123"
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Show child attributes
Show child attributes
The default profile that must be used for creating merchant accounts and payments
64Object for GenericLinkUiConfig
Show child attributes
Show child attributes
orchestration, vault, recon, recovery, cost_observability, dynamic_routing