如何调用Square API创建卡或如何使用卡信息收费?

问题描述 投票:-1回答:1

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

邮递员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个回答
0
投票

在git仓库中获得我的解决方案,此仓库帮助我可以直接向卡收费

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

© www.soinside.com 2019 - 2024. All rights reserved.