From 9c283e9d4279bd2662414bf8fb1e0593dd5ea8bd Mon Sep 17 00:00:00 2001 From: Alex Pliutau Date: Sun, 16 Dec 2018 13:26:41 +0100 Subject: [PATCH] #69: add payment response --- types.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index 3bbd14d..2eb4c82 100644 --- a/types.go +++ b/types.go @@ -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