Links
Create a Link
Changed onCreate a payment link for your customers. Store must be verified to create links. The referenceId must be unique across all your links.
post/api/v1/links
Request
- Base URLhttps://api.thewayl.com
- URLhttps://api.thewayl.com/api/v1/links
- AuthAPI key in header X-WAYL-AUTHENTICATION
Request body
Example request
{
"env": "live",
"referenceId": "dummy-reference-id",
"total": 10000,
"currency": "IQD",
"lineItem": [
{
"label": "Basket Value",
"amount": 10000
}
],
"webhookUrl": "https://webhook.site/your-webhook-url",
"webhookSecret": "1234567890",
"redirectionUrl": "https://www.google.com",
"linkExpiresIn": "24h"
}Changes
- info
added the new optional request property
- info