Skip to content

HTTP API: add type hints for payment status#1150

Merged
t-bast merged 3 commits intomasterfrom
payment-api-improvements
Oct 1, 2019
Merged

HTTP API: add type hints for payment status#1150
t-bast merged 3 commits intomasterfrom
payment-api-improvements

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Sep 27, 2019

Cleans up the JSON payment status (easier to interpret for callers).
@darwin you can probably leverage this to simplify your script (check for the type field inside the status object, see the JSON examples in this PR).

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants