【问题标题】:How to call square API to create card or how to charge with card info?如何调用square API创建卡或如何使用卡信息收费?
【发布时间】:2020-09-10 16:40:23
【问题描述】:

如何保存客户卡信息 - Squareup API

Postman API 可用于创建客户卡,但无法帮助我用卡收费 我如何保存卡片信息

  "card_nonce": "YOUR_CARD_NONCE",
  "billing_address": {
    "address_line_1": "500 Electric Ave",
    "address_line_2": "Suite 600",
    "locality": "New York",
    "administrative_district_level_1": "NY",
    "postal_code": "10003",
    "country": "US"
  },
  "cardholder_name": "Amelia Earhart",
  "verification_token": "TOKEN"
}

> Link Used to create : https://{{host}}/v2/customers/{{customer_id}}/cards

【问题讨论】:

    标签: python php curl postman square-connect


    【解决方案1】:

    得到我的解决方案在 git repo 中,这个 repo 帮助我可以直接从卡中扣款

    https://github.com/square/connect-api-examples/tree/master/templates/web-ui/payment-form/basic

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-09-26
      • 1970-01-01
      • 2014-04-22
      • 1970-01-01
      • 2021-05-12
      • 2021-04-14
      • 2013-08-30
      • 1970-01-01
      相关资源
      最近更新 更多