| Requires any of the roles: | Client, Admin, Partner |
| PUT | /payment_gateways/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | long | Yes | |
| TenantsId | body | int | Yes | |
| PaymentActionsId | body | long | Yes | |
| Name | body | string | Yes | |
| ServiceKey | body | string | No | |
| NotifyUrl | body | string | No | |
| RedirectUrl | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| TenantsId | form | int | No | |
| PaymentActionsId | form | long | No | |
| Name | form | string | No | |
| ServiceKey | form | string | No | |
| NotifyUrl | form | string | No | |
| RedirectUrl | form | string | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /payment_gateways/{Id} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
TenantsId: 0,
PaymentActionsId: 0,
Name: String,
ServiceKey: String,
NotifyUrl: String,
RedirectUrl: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
TenantsId: 0,
PaymentActionsId: 0,
Name: String,
ServiceKey: String,
NotifyUrl: String,
RedirectUrl: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}