如何保存客户卡信息-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
在git仓库中获得我的解决方案,此仓库帮助我可以直接向卡收费
https://github.com/square/connect-api-examples/tree/master/templates/web-ui/payment-form/basic