Logo
Peach Payments Public API Documentation

Generate link

POST {{baseUrl}}/api/channels/:entityId/payments

Generate a unique payment link for a transaction and optionally send this link to the recipient via email and/or sms.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "id": "4879b851-f001-44dc-be3c-943eb1dbab50", "url": "https://l.ppay.io/29f69f2b063cc5b1", "queuedNotifications": false }



Curl
curl -X POST 'baseUrl/api/channels/:entityId/payments' -H 'Content-Type: application/json' -H 'Accept: application/json'

ENDPOINTS