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

{
    "ContextId": "a1S4W000006A1ZyUAK"
}

Parameter

Required/Optional

ContextId

Required

Sample Output

{
  "url": "/v1/payment_methods",
  "has_more": false,
  "data": [
    {
      "type": "card",
      "metadata": {},
      "livemode": false,
      "customer": "cus_Ic0euqbWnFYOg3",
      "created": 1608550430,
      "card": {
        "wallet": null,
        "three_d_secure_usage": {
          "supported": true
        },
        "networks": {
          "preferred": null,
          "available": [
            "visa"
          ]
        },
        "last4": "4242",
        "generated_from": null,
        "funding": "credit",
        "fingerprint": "2yNCV5uyUTRDaoJu",
        "exp_year": 2024,
        "exp_month": 4,
        "country": "US",
        "checks": {
          "cvc_check": "pass",
          "address_postal_code_check": "pass",
          "address_line1_check": null
        },
        "brand": "visa"
      },
      "billing_details": {
        "phone": null,
        "name": null,
        "email": null,
        "address": {
          "state": null,
          "postal_code": "44422",
          "line2": null,
          "line1": null,
          "country": null,
          "city": null
        }
      }

}

Called By

  • Flows:

    • Agent console: Payment

    • Agent console: Billing

Calls

  • Data Mapper: vpls360Csr-FetchAccountFromInteraction

  • Data Mapper: VPL360csr-DRFetchStripeCustId

  • HTTP Action: ListAllPaymentmethod

  • HTTP Action: DetachCardFromCustomer