Merchant Configuration
Update a Merchant Configuration
Update an existing Merchant Configuration by its ID
post/merchant-configs/{id}
Path parameters
idstring required
Request body
Example request
{
"defaultPaymentMethodOptions": {
"card": {
"mode": "cascade",
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
},
"paypal": {
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
},
"applePay": {
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
}
},
"displayCurrency": "usd",
"timezone": "Europe/Paris",
"lineItemDescriptionSource": "price"
}Response
OK
Example response
{
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"defaultPaymentMethodOptions": {
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7,
"card": {
"mode": "cascade",
"gatewayProfile": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "gwp_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"title": "Profile #1",
"integration": "stripe",
"environment": "test"
},
"cascade": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"name": "My Cascade",
"description": "Simple cascade",
"active": true,
"algorithm": "weightedRoundRobin"
},
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
},
"paypal": {
"mode": "direct",
"gatewayProfile": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "gwp_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"title": "Profile #1",
"integration": "stripe",
"environment": "test"
},
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
},
"applePay": {
"mode": "direct",
"gatewayProfile": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "gwp_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"title": "Profile #1",
"integration": "stripe",
"environment": "test"
},
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
}
},
"displayCurrency": "usd",
"timezone": "UTC",
"lineItemDescriptionSource": "price"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.