Update Payment Gateway

Changed on
patch/site/{site_name}/ecommerce/payment-gateways/{id}

Request

  • Base URL
    https://api-sandbox.duda.co/api/integrationhub/application
  • URL
    https://api-sandbox.duda.co/api/integrationhub/application/site/{site_name}/ecommerce/payment-gateways/{id}
  • Auth
    none required

Path parameters

site_namestring required

The unique identifier for the target Site.

idstring required

The ID of the existing payment gateway.

Headers

x-duda-access-tokenstring

The specific access token to access this site API.

authorizationstring

Your App Account's username and password, base64'd.

Request body

descriptionstring
iconsstring[]
imagestring
live_payment_methods_urlstring

URL where we will send a request to get availalbe payment methods for the customer.

management_urlstring
namestring
test_payment_methods_urlstring

URL where we will send a request to get availalbe payment methods for the customer, for test orders.

Response

200

descriptionstring
iconsstring[]
idstring
imagestring
live_payment_methods_urlstring
namestring
test_payment_methods_urlstring

Example response

{
  "description": "string",
  "icons": [
    "string"
  ],
  "id": "string",
  "image": "string",
  "live_payment_methods_url": "string",
  "name": "string",
  "test_payment_methods_url": "string"
}

Changes