payment-methods-users

update a payment method

put/payment-methods/channels/payment-methods/{id}

Path parameters

idstring required

the id of the payment method

Request body

dataobject required

Can be used to store the required fields and their values for a payment method created by a user.

otpstring

Otp code to verify if user exists

Response

Success

paymentMethodIdstring required

Id of the payment method

userIdstring required

Id of the owner of a payment method

paymentChannelIdstring required

Payment Channel's id

paymentChannelNamestring required

Payment Channel's name

paymentChannelTypestring required

The type of the payment channel

defaultCurrencyMapobject

map of currencies set as default

  • A payment method can belong to a channel that supports multiple currencies
  • This contains a map currency symbols to boolean to indicate if method is default for the currency
dataobject required

Can be used to store the required fields and their values for a payment method created by a user.

isBeneficiaryboolean

Flag indicating if the payment method is a beneficiary account or owned by user. Beneficiary accounts CANNOT be used to process P2P trades.

Example response

{
  "paymentChannelType": "P2P_WALLET"
}

Changes

Changed in 1 of the 6 revisions of this API.2

    • the endpoint scheme security HMACAuth was added to the API

      api-security-added

    • the endpoint scheme security authToken was removed from the API

      api-security-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog