Skip to content

Partner Referral API Types

Compare
Choose a tag to compare
@roopakv roopakv released this 10 Oct 21:37
· 110 commits to master since this release
Add types to support Partner Referral API (#123)

* Add types to support Partner Referral API

Add in the type structs to allow a POST call to v2/customer/partner-referrals
It sends a ReferralRequest, and returns a response of type Resource with only Links populated
https://developer.paypal.com/docs/api/partner-referrals/v2/

* Pointer for optional field

* Update types.go

Co-Authored-By: Roopak Venkatakrishnan <[email protected]>