Delete payment option

DELETE https://app.ecwid.com/api/v3/{storeId}/profile/paymentOptions/{paymentOptionId}

Required access scopes

Your app must have the following access scopes to make this request: read_store_profile , add_payment_method

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

paymentOptionId

string

Internal payment option ID.

Headers

The Authorization header is required.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON object with the following fields:

Field
Type
Description

deleteCount

number

The number of deleted items that defines if the request was successful. One of:

1 if the item was deleted,

0 if the item was not deleted.

Last updated

Was this helpful?