Skip to main content

Preview Payment Request Email

GET 

/api/sales-payment-requests/:salesPaymentRequest/email-preview

Preview the email that Send Payment Request would deliver: the default recipient (customer invoice email, else billing email, else email), the rendered subject and the HTML body of the sales_payment_request email template.

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires permission sales_payment_requests.send.

Request​

Responses​

OK

Response Headers
    Content-Type