Unenroll Payment Method
post/customers/{customer_id}/payment-methods/{payment_method_id}/unenroll
Request
- Base URLhttps://api-sandbox.y.uno/v1
- AuthAPI key in header PUBLIC-API-KEY and API key in header PRIVATE-SECRET-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.