如何从苹果支付中提取账单地址

How to pull billing address from apple pay

我正在尝试实施 ApplePay,但我的服务器 api 要求我发送账单地址。有没有办法提取我在 apple pay 屏幕出现时输入的账单地址?任何帮助,将不胜感激。

这是 PKPayment. A reference from Apple developer site 中的 属性。

To initiate a payment, your app creates a payment request. This request includes the subtotal for the services and goods purchased, as well as any additional charges for tax, shipping, or discounts. Pass this request to a payment authorization view controller, which displays the request to the user and prompts for any needed information, such as a shipping or billing address.

我可以推荐你阅读上面的这两个链接。