我们使用AuthOnlyTransaction以及后来的PriorAuthCaptureTransaction交易类型来授权和获取订单费用。
我们想要添加一个订阅选项,它将遵循相同的场景-用户资金首先被授权,然后被捕获。
目前有一种方法可以在Sanbox GUI中选择,沙盒>未结算事务>选择仅限身份验证的事务>单击"Create ARB Create ARB Subscription from Transaction from Transaction":

如何从API中创建授权费用的ARB订阅?
发布于 2019-09-10 03:39:49
您可以在首次获得授权时使用CIM API创建客户配置文件和支付配置文件。然后,一旦您准备好创建订阅,您就可以使用这些配置文件it创建它。
下面是示例XML:
<?xml version="1.0" encoding="utf-8"?>
<ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>API_USERNAME</name>
<transactionKey>API_TRANSACTION_KEY</transactionKey>
</merchantAuthentication>
<refId>Sample</refId>
<subscription>
<name>Sample subscription</name>
<paymentSchedule>
<interval>
<length>1</length>
<unit>months</unit>
</interval>
<startDate>2020-08-30</startDate>
<totalOccurrences>12</totalOccurrences>
<trialOccurrences>1</trialOccurrences>
</paymentSchedule>
<amount>10.00</amount>
<trialAmount>0.00</trialAmount>
<profile>
<customerProfileId>12345678</customerProfileId>
<customerPaymentProfileId>987654342</customerPaymentProfileId>
</profile>
</subscription>
</ARBCreateSubscriptionRequest>https://stackoverflow.com/questions/57860141
复制相似问题