有一个定义了多个 pageStyles 的贝宝设置。
使用“经典 API”,自适应支付与 post 请求 json 连接起来,类似于:
{
"requestEnvelope": {
"errorLanguage": "en_US"
},
"actionType": "PAY",
"receiverList": {"receiver" => receiver_list},
"currencyCode": "USD,
"feesPayer": "EACHRECEIVER",
"memo": "Some memo message",
"cancelUrl": "cancel.com",
"returnUrl": "thankyou.com",
"ipnNotificationUrl": "ipn.com"
}
此帖子请求发送至:
https://svcs.paypal.com/AdaptivePayments/Pay
标题如下:
{
"X-PAYPAL-SECURITY-USERID": "my_security_id",
"X-PAYPAL-SECURITY-PASSWORD": "my_security_password",
"X-PAYPAL-SECURITY-SIGNATURE": "my_security_signature",
"X-PAYPAL-REQUEST-DATA-FORMAT": "JSON",
"X-PAYPAL-RESPONSE-DATA-FORMAT": "JSON",
"X-PAYPAL-APPLICATION-ID": "my_application_id"
}
我在这里查看了自适应支付 API:自适应支付支付
它没有任何选项可以像在 REST API 中那样指定页面样式:Custom Page Style In REST API
有没有办法Page Style
通过自适应支付 API 指定?