Newer Version Available

This content describes an older version of this product. View Latest

VPL360CSR_VIP_DetachcardFromCustomerCSR

This Integration Procedure detaches a payment card from the customer's account, enabling the customer to update the card details.

Sample Input

1{
2    "ContextId": "a1S4W000006A1ZyUAK"
3}

Parameter

Required/Optional

ContextId

Required

Sample Output

1{
2  "url": "/v1/payment_methods",
3  "has_more": false,
4  "data": [
5    {
6      "type": "card",
7      "metadata": {},
8      "livemode": false,
9      "customer": "cus_Ic0euqbWnFYOg3",
10      "created": 1608550430,
11      "card": {
12        "wallet": null,
13        "three_d_secure_usage": {
14          "supported": true
15        },
16        "networks": {
17          "preferred": null,
18          "available": [
19            "visa"
20          ]
21        },
22        "last4": "4242",
23        "generated_from": null,
24        "funding": "credit",
25        "fingerprint": "2yNCV5uyUTRDaoJu",
26        "exp_year": 2024,
27        "exp_month": 4,
28        "country": "US",
29        "checks": {
30          "cvc_check": "pass",
31          "address_postal_code_check": "pass",
32          "address_line1_check": null
33        },
34        "brand": "visa"
35      },
36      "billing_details": {
37        "phone": null,
38        "name": null,
39        "email": null,
40        "address": {
41          "state": null,
42          "postal_code": "44422",
43          "line2": null,
44          "line1": null,
45          "country": null,
46          "city": null
47        }
48      }
49
50}

Called By

  • Flows:

    • Agent console: Payment

    • Agent console: Billing

Calls

  • Data Mapper: vpls360Csr-FetchAccountFromInteraction

  • Data Mapper: VPL360csr-DRFetchStripeCustId

  • HTTP Action: ListAllPaymentmethod

  • HTTP Action: DetachCardFromCustomer