Payment Links
Receive Funds with our Payment Links API.
The Payment Links API allows you to create, update, activate and deactivate payment links. Payment Links provides a shareable URL to accept Payment from your customers.
Create New Payment Link
Payment Link Slug
A payment link are shareable link. The shareable link is created by appending the slug in the JSON response to this URL - https://pay.veendhq.com/p/
For example,
https://pay.veendhq.com/p/{{SLUG}}
Create a new payment link
POST
{{BASE_URL}}/v1/paymentlinks?accountId={{ACCOUNT_ID}}
Query Parameters
accountId*
Account Id
Headers
Authorization*
Bearer Access Token
x-tag*
sandbox
Specify the environments
Request Body
name*
String
Name of the payment link
amount*
2000
Amount to charge customer
description*
String
Description of the Payment Link
Payment Links are ACTIVE by default
Newly created payment links are ACTIVE
by default.
Activate a Payment Link
Activate a Payment Link
PATCH
{{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/activate?accountId={{ACCOUNT_ID}}
Query Parameters
accountId*
String
Account Id
Headers
String
Deactivate a Payment Link
Deactivate a Payment Link
PATCH
{{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/activate?accountId={{ACCOUNT_ID}}
Edit a Payment Link
Edit a Payment Link
PATCH
{{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}?accountId={{ACCOUNT_ID}}
Get a Payment Link
Get a Payment Link
GET
{{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/activate?accountId={{ACCOUNT_ID}}
Get All Payment Link
Get all Payment Links
GET
{{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}?accountId={{ACCOUNT_ID}}
Returns a list all a payment links
Query Parameters
accountId*
ACCOUNT_ID
populate
product
returns more information about payment link
Delete a Payment Link
Delete a Payment Link
DELETE
{{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}?accountId={{ACCOUNT_ID}}
Delete a payment link by ID
Path Parameters
{{PAYMENT_LINK_ID}}
String
Query Parameters
accountId*
String
String
Get Transactions for a Payment Link
Get transactions for a payment link
GET
{{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/transactions?accountId={{ACCOUNT_ID}}
Get All Payment Links Transactions
Get all payment links transactions
GET
{{BASE_URL}}/v1/accounts/{{ACCOUNT_ID}}/paymentlinkTransactions?accountId={{accountId}}
Last updated