#69: add payment response

This commit is contained in:
Alex Pliutau 2018-12-16 13:26:41 +01:00
parent f17191367d
commit 9c283e9d42

View File

@ -401,8 +401,12 @@ type (
// PaymentResponse structure
PaymentResponse struct {
ID string `json:"id"`
Links []Link `json:"links"`
ID string `json:"id"`
State string `json:"state"`
Intent string `json:"intent"`
Payer Payer `json:"payer"`
Transactions []Transaction `json:"transactions"`
Links []Link `json:"links"`
}
// Payout struct