Update a payment method

patch/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}

Updates payment method details for the merchant account and the payment method identified in the path.

To make this request, your API credential must have the following role:

  • Management API—Payment methods read and write
Endpoint destination URL
https://management-test.adyen.com/v3/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}
Click to copy

Path Parameters

paymentMethodIdstringRequired

The unique identifier of the payment method.

merchantIdstringRequired

The unique identifier of the merchant account.

Request Parameters

accelobject

ACCEL details.

bcmcobject

Bancontact details.

cartesBancairesobject

Cartes Bancaires details.

countriesarray[string]

The list of countries where a payment method is available. By default, all countries supported by the payment method.

cupobject

China Union Pay details.

currenciesarray[string]

The list of currencies that a payment method supports. By default, all currencies supported by the payment method.

customRoutingFlagsarray[string]

Custom routing flags for acquirer routing.

dinersobject

Diners details.

discoverobject

Discover details.

eftpos_australiaobject

Eftpos Australia details.

enabledboolean

Indicates whether the payment method is enabled (true) or disabled (false).

girocardobject

Girocard details.

idealobject

iDeal details.

interac_cardobject

Interac Card details.

jcbobject

JCB details.

maestroobject

Maestro details. In the US, maestro is not supported; use maestro_usa instead.

mcobject

MasterCard details.

nyceobject

NYCE details.

pulseobject

PULSE details.

starobject

STAR details.

storeIdsarray[string]

The list of stores for this payment method

visaobject

Visa details.

Response parameters

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

    Show moreShow less
  • 204 - No Content

    The request has been successfully processed, but there is no additional content.

  • 400 - Bad Request

    A problem reading or understanding the request.

    Show moreShow less
  • 401 - Unauthorized

    Authentication required.

    Show moreShow less
  • 403 - Forbidden

    Insufficient permissions to process the request.

    Show moreShow less
  • 422 - Unprocessable Entity

    A request validation error.

    Show moreShow less
  • 429

    Show moreShow less
  • 500 - Internal Server Error

    The server could not process the request.

    Show moreShow less