v1

latestOpenAPI 3.0.02026-07-26167441.9 MB

Unenroll Payment Method

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

Path parameters

payment_method_idstring required

The payment method id to unenroll (UUID, 36 chars).

Response

200

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

Example response

{
  "id": "77ee4a02-da3e-4a11-ac15-ba69e1813475",
  "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:28:57.149530Z",
  "updated_at": "2024-06-06T13:31:13.945554Z",
  "enrollment": {
    "session": "0685f1d6-11ff-4992-abc3-9eea1842205c",
    "sdk_required_action": true
  },
  "provider": {
    "id": "YUNO",
    "type": "YUNO"
  }
}