Changes for page ../credit-account
Last modified by dap on 2022/08/11 10:52
From version 143.2
edited by dap
on 2020/09/25 08:57
on 2020/09/25 08:57
To version 144.1
edited by dap
on 2020/09/25 08:59
on 2020/09/25 08:59
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -730,12 +730,30 @@ 730 730 } 731 731 {{/code}} 732 732 733 -==== Update settings on an account ====733 +==== Create settings on an account ==== 734 734 735 735 (% class="wikigeneratedid" %) 736 736 Execute http patch towards this resource to change how recurring payments should behave on the specified account 737 737 738 738 {{code language="http" title="**Request**"}} 739 +POST /ledger/credit-account/v1/XXX/accounts/NNN/recurring-payment-configuration HTTP/1.1 740 +Host: - 741 +Authorization: Bearer <Token> 742 +Content-Type: application/json 743 + 744 +{ 745 + "paymentScope" : "billedAmount", 746 + "fixedAmount" : 0.00 747 +} 748 +{{/code}} 749 + 750 +==== 751 +Update settings on an account ==== 752 + 753 +(% class="wikigeneratedid" %) 754 +Execute http patch towards this resource to change how recurring payments should behave on the specified account 755 + 756 +{{code language="http" title="**Request**"}} 739 739 PATCH /ledger/credit-account/v1/XXX/accounts/NNN/recurring-payment-configuration HTTP/1.1 740 740 Host: - 741 741 Authorization: Bearer <Token> ... ... @@ -747,6 +747,20 @@ 747 747 } 748 748 {{/code}} 749 749 768 +==== Delete settings on an account ==== 769 + 770 +(% class="wikigeneratedid" %) 771 +Execute http patch towards this resource to change how recurring payments should behave on the specified account 772 + 773 +{{code language="http" title="**Request**"}} 774 +DELETE /ledger/credit-account/v1/XXX/accounts/NNN/recurring-payment-configuration HTTP/1.1 775 +Host: - 776 +Authorization: Bearer <Token> 777 +Content-Type: application/json 778 + 779 +{} 780 +{{/code}} 781 + 750 750 ==== Recurring-payment-configuration resource properties ==== 751 751 752 752 (% class="table-bordered table-striped" %)