mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
docs(v2): Added 'X-Merchant-Id' to headers in Profile API docs (#6291)
This commit is contained in:
@ -711,6 +711,20 @@
|
||||
"summary": "Profile - Create",
|
||||
"description": "Creates a new *profile* for a merchant",
|
||||
"operationId": "Create A Profile",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "X-Merchant-Id",
|
||||
"in": "header",
|
||||
"description": "Merchant ID of the profile.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
@ -767,6 +781,18 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "X-Merchant-Id",
|
||||
"in": "header",
|
||||
"description": "Merchant ID of the profile.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@ -806,6 +832,18 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "X-Merchant-Id",
|
||||
"in": "header",
|
||||
"description": "Merchant ID of the profile.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
@ -864,6 +902,18 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "X-Merchant-Id",
|
||||
"in": "header",
|
||||
"description": "Merchant ID of the profile.",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"example": {
|
||||
"X-Merchant-Id": "abc_iG5VNjsN9xuCg7Xx0uWh"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
||||
Reference in New Issue
Block a user