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.

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}}

POST {{BASE_URL}}/v1/paymentlinks?accountId={{ACCOUNT_ID}}

Query Parameters

Name
Type
Description

accountId*

Account Id

Headers

Name
Type
Description

Authorization*

Bearer Access Token

x-tag*

sandbox

Specify the environments

Request Body

Name
Type
Description

name*

String

Name of the payment link

amount*

2000

Amount to charge customer

description*

String

Description of the Payment Link

PATCH {{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/activate?accountId={{ACCOUNT_ID}}

Query Parameters

Name
Type
Description

accountId*

String

Account Id

Headers

Name
Type
Description

String

PATCH {{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/activate?accountId={{ACCOUNT_ID}}

PATCH {{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}?accountId={{ACCOUNT_ID}}

GET {{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/activate?accountId={{ACCOUNT_ID}}

GET {{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}?accountId={{ACCOUNT_ID}}

Returns a list all a payment links

Query Parameters

Name
Type
Description

accountId*

ACCOUNT_ID

populate

product

returns more information about payment link

DELETE {{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}?accountId={{ACCOUNT_ID}}

Delete a payment link by ID

Path Parameters

Name
Type
Description

{{PAYMENT_LINK_ID}}

String

Query Parameters

Name
Type
Description

accountId*

String

String

GET {{BASE_URL}}/v1/paymentlinks/{{PAYMENT_LINK_ID}}/transactions?accountId={{ACCOUNT_ID}}

GET {{BASE_URL}}/v1/accounts/{{ACCOUNT_ID}}/paymentlinkTransactions?accountId={{accountId}}

Last updated