forked from go-packages/paypal
#69: add payment response
This commit is contained in:
parent
f17191367d
commit
9c283e9d42
4
types.go
4
types.go
|
@ -402,6 +402,10 @@ type (
|
||||||
// PaymentResponse structure
|
// PaymentResponse structure
|
||||||
PaymentResponse struct {
|
PaymentResponse struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
|
State string `json:"state"`
|
||||||
|
Intent string `json:"intent"`
|
||||||
|
Payer Payer `json:"payer"`
|
||||||
|
Transactions []Transaction `json:"transactions"`
|
||||||
Links []Link `json:"links"`
|
Links []Link `json:"links"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user