Update a given payment method

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

Request
Security:
tilia_auth (write_payment_methods)
path Parameters
payment_method_id
required
string <UUID4>

The payment method ID

Request Body schema: application/json

Account resource

display_string
string

A descriptive string used in displaying the payment method in the Tilia Pay 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": {
    }
}