v1

latestOpenAPI 3.0.02026-07-26167441.9 MB

Unenroll Payment Method

post/customers/{customer_id}/payment-methods/{payment_method_id}/unenroll

Path parameters

customer_idstring required

The unique identifier of the customer (UUID, 36 chars).

payment_method_idstring required

The unique identifier of the payment method. This is the vaulted_token received when enrolling a payment method using Enroll Payment Method (UUID, 36 chars).

Response

200

idstring
account_idstring
namestring
descriptionstring
typestring
categorystring
countrystring
statusstring
created_atstring
updated_atstring
{"stackTrail":"paths:/customers/{customer_id}/payment-methods/{payment_method_id}/unenroll:post:responses:200:content:application/json:schema:properties:preferred","oasType":"schema","type":"unknown"}

Example response

{
  "id": "cbdcc878-ceb4-4dd8-b0f0-49d444855de0",
  "account_id": "493e9374-510a-4201-9e09-de669d75f256",
  "name": "VISA ****1111",
  "description": "VISA ****1111",
  "type": "CARD",
  "category": "CARD",
  "country": "US",
  "status": "UNENROLLED",
  "created_at": "2024-06-06T13:32:49.715656Z",
  "updated_at": "2024-06-06T13:37:38.891106Z",
  "enrollment": {
    "sdk_required_action": true
  },
  "provider": {
    "id": "YUNO",
    "type": "YUNO"
  }
}