Update a given payment method

Update Display String, PII, and default Payout/Payment payment mehtods.

Successful completion triggers this notification
Payment method updated

For more information about event notifications, visit Webhooks.

Securitytilia_auth
Request
path Parameters
payment_method_id
required
string (PaymentMethodId) <= 36 characters

The payment method ID

Example: pm_2V2bA0r2hJpUnCA9HeTgOl0rONr
Request Body schema: application/json
required

Account resource

display_string
string

A descriptive string used in displaying the payment method in the Tilia UIs.

default_payment
boolean

A flag indicating to set or unset this payment method as the default for payments.

default_payout
boolean

A flag indicating to set or unset this payment method as the default for payouts.

Responses
200

Update Payment Method Response

400

Invalid input

401

Unauthorized access.

404

Resource not found.

500

Service unavailable or server error.

patch/v2/payment_method/{payment_method_id}
Request samples
application/json
{
  • "display_string": "Steam Wallet",
  • "default_payment": "true",
  • "default_payout": "true"
}
Response samples
application/json
{
  • "status": "Success",
  • "message": null,
  • "codes": null,
  • "payload": {
    }
}