Last active
March 20, 2019 07:39
-
-
Save ewilde/a23d4a5cb477b8a6d6a0828bccac9bc2 to your computer and use it in GitHub Desktop.
Submitting a payment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let payment_id = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | |
let submission_id =xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | |
result = post payment with payment_id | |
if result = 409 | |
log warn payment exists | |
result = post payment_submission with payment_id, submission_id | |
if result = 409 | |
log warn submission exists | |
payment = get_payment with payment_id | |
log warn payment details %v payment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment