Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
1 changed file
with
1 addition
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"` | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
thomasf
Contributor
|
||
PurchaseUnits []*PurchaseUnitRequest `json:"purchase_units,omitempty"` | ||
Payer *PayerWithNameAndPhone `json:"payer,omitempty"` | ||
Links []Link `json:"links,omitempty"` | ||
|
this should not go into the general resource,, all evet types are not related to billing. There sould probably be a lot less fields in this struct