Overview / Finance / Delete a payment method

Delete a payment method

delete https://api.flactrum.com/v1/payment-methods/{method}

A method used on past orders cannot be deleted; deactivate it instead.

Required scope payment_methods.write
Success status204

Parameters

NameInTypeDescription
method * path string ULID of the record.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X DELETE 'https://api.flactrum.com/v1/payment-methods/01m43myad1zhqvvmffxxqmksbp' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)