Share payment link
Changed onUse this method to email a payment link to a customer.
To email a payment link, you need its paymentLinkId. Our gateway returned the paymentLinkId in the response of the Create Payment Link method.
Note: If you don't have the paymentLinkId, use our List Payment Links method to search for the payment link.
In the request, you must provide the recipient's name and email address.
In the response, our gateway returns a sharingEventId, which you can use to List Payment Link Sharing Events.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/payment-links/{paymentLinkId}/sharing-events
- AuthHTTP bearer
Path parameters
Unique identifier that we assigned to the payment link.
Headers
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Request body
Response
Successful request. We return a polymorphic object that contains information about how the merchant shared a payment link.
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning
- info
api operation id
shareremoved and replaced withsharingEvents_share
- info