Skip to content

Commit cae9318

Browse files
committed
Account and Settlement guide snippets
1 parent 5961ca1 commit cae9318

5 files changed

+13
-1
lines changed

snippets/account-balance.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
account.balance
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# merchant is a Customer instance
2+
merchant.payable_account
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
order.credit_to(
2+
destination=account_href,
3+
amount=8000
4+
)

snippets/order-credit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
order.credit_to(
2-
destination=bank_account,
2+
destination=bank_account_href,
33
amount=8000
44
)

snippets/settlement-create.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
account.settle(
2+
appears_on_statement_as='ThingsCo',
3+
description='A simple description',
4+
funding_instrument=bank_account_href
5+
)

0 commit comments

Comments
 (0)