payment method

DELETE /v1/payment-method/{id}

Delete payment method. Only inactive payment method will be deleted.

Request

  • Base URL
    https://customer-portal-api.frisbii.com
  • URL
    https://customer-portal-api.frisbii.com/v1/payment-method/{id}
  • Auth
    none declared

Path parameters

idstring required

Payment method id

Response

Successful operation

idstring required

Unique id for payment method

state'active' | 'inactivated' | 'failed' | 'pending' | 'deleted' required

State of the payment method: active, inactivated, failed, pending or deleted

ibanstring

IBAN for SEPA payment type

createdstring date-time

Date when the payment method was created. In ISO-8601 extended offset date-time format.

logostring

Optional payment method logo url

payment_type'card' | 'emv_token' | 'vipps_recurring' | 'applepay' | 'mobilepay_subscriptions' | 'sepa' required

Payment type for saved payment method, either: card, emv_token, vipps_recurring, applepay, mobilepay_subscriptions or sepa

external_idstring

External id for MPS payment type

Example response

{
  "id": "ca_fcfac2016614418f969fa5697383e47c",
  "state": "active",
  "created": "2015-04-04T12:40:56.656Z",
  "card": {
    "card_type": "visa_dk",
    "exp_date": "09-18",
    "masked_card": "457111XXXXXX3777"
  },
  "applepay": {
    "card_type": "visa_dk",
    "exp_date": "09-18",
    "masked_card": "457111XXXXXX3777"
  },
  "payment_type": "card"
}

Changes

No recorded changes to this operation across all 1 revision of this API.