53.4.12. 端点前缀 订阅
以下端点可以通过前缀 订阅 调用,如下所示:
braintree://subscription/endpoint?[options]
端点 | 简写别名 | 选项 | 结果 Body 类型 |
---|---|---|---|
取消 |
| id | com.braintreegateway.Result<com.braintreegateway.Subscription> |
create |
| Request (请求) | com.braintreegateway.Result<com.braintreegateway.Subscription> |
delete |
| customerId, id | com.braintreegateway.Result<com.braintreegateway.Subscription> |
find |
| id | com.braintreegateway.Subscription |
retryCharge |
| subscriptionId, number | com.braintreegateway.Result<com.braintreegateway.Transaction> |
search |
| searchRequest | com.braintreegateway.ResourceCollection<com.braintreegateway.Subscription> |
update |
| id, request | com.braintreegateway.Result<com.braintreegateway.Subscription> |
订阅的URI 选项
名称 | 类型 |
---|---|
id | 字符串 |
Request (请求) | com.braintreegateway.SubscriptionRequest |
customerId | 字符串 |
subscriptionId | 字符串 |
amount | BigDecimal |
searchRequest | com.braintreegateway.SubscriptionSearchRequest. |