forked from go-packages/paypal
Added missing BillingAgreementId key in webhook (#205)
* Added missing BillingAgreementId key in webhook Webhook resource contains `billing_agreement_id`. Exists in type: `PAYMENT.SALE.COMPLETED` when a subscription is paid. * review fix
This commit is contained in:
parent
392c0e9d69
commit
7f2eec9b56
1
types.go
1
types.go
|
@ -1150,6 +1150,7 @@ type (
|
|||
PartnerClientID string `json:"partner_client_id,omitempty"`
|
||||
MerchantID string `json:"merchant_id,omitempty"`
|
||||
Intent string `json:"intent,omitempty"`
|
||||
BillingAgreementID *string `json:"billing_agreement_id,omitempty"`
|
||||
PurchaseUnits []*PurchaseUnitRequest `json:"purchase_units,omitempty"`
|
||||
Payer *PayerWithNameAndPhone `json:"payer,omitempty"`
|
||||
Links []Link `json:"links,omitempty"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user