Skip to content

Commit 9ce9120

Browse files
committed
added customer payload to Order create in README
1 parent 79afa40 commit 9ce9120

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ Create
179179
'order_id': '2007',
180180
'finalization_date': '2017-08-02T19:26:08Z',
181181
'btn_ref': 'srctok-XXX',
182+
'customer': {
183+
'id': 'mycustomer-1234',
184+
'email_sha256': hashlib.sha256("user@example.com".lower().strip()).hexdigest()
185+
},
182186
})
183187
184188
print(response)

0 commit comments

Comments
 (0)