Payment Links
Create
API Documentation
Wallet Management
Address Operations
- GETGet Addresses
- POSTGenerate Address
- GETGet Address
- PATCHUpdate Address
- POSTWhitelist address
- DELUnwhitelist address
- GETGet Balance
- GETGet Balances
- GETGet transactions
- POSTWithdraw Network Fee
- POSTWithdraw
- POSTGet Swap Quote
- POSTSwap Execute
- POSTCustom Smart Contract Network Fee
- POSTCustom Smart Contract Read
- POSTCustom Smart Contract Write
Withdrawals
Custom Smart Contracts
Asset Management
Transactions
AML(Anti Money Laundering)
Auto Settlements
Asset Recovery
Payment Links
Miscellaneous
Payment Links
Create
This endpoint allows you to create a payment link with the specified details.
POST
/
v1
/
payment_links
curl --request POST \
--url https://api.blockradar.co/v1/payment_links \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>' \
--form amount=100 \
--form 'description=Test Payment link description' \
--form inactiveMessage= \
--form metadata= \
--form 'name=Payment link name' \
--form paymentLimit= \
--form redirectUrl= \
--form slug=payment-link \
--form successMessage=
{
"data": {
"active": true,
"amount": null,
"configurations": {},
"createdAt": "2025-04-30T14:00:48.522Z",
"createdChannel": "dashboard",
"currency": "USD",
"description": "Payment link description",
"id": "7dfa86ff-fd3a-45e1-8ecf-dc8a06ef65cd",
"imageUrl": null,
"inactiveMessage": null,
"metadata": null,
"name": "Payment Link",
"network": "testnet",
"redirectUrl": "https://www.blockradar.co/",
"slug": "payment-link-10012",
"successMessage": null,
"type": "payment",
"updatedAt": "2025-04-30T14:00:48.522Z",
"url": "https://pay.blockradar.co/payment-link-10012"
},
"message": "Payment Link created successfully",
"statusCode": 200
}
Authorizations
Body
multipart/form-data
Response
200 - application/json
200
The response is of type object
.
curl --request POST \
--url https://api.blockradar.co/v1/payment_links \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>' \
--form amount=100 \
--form 'description=Test Payment link description' \
--form inactiveMessage= \
--form metadata= \
--form 'name=Payment link name' \
--form paymentLimit= \
--form redirectUrl= \
--form slug=payment-link \
--form successMessage=
{
"data": {
"active": true,
"amount": null,
"configurations": {},
"createdAt": "2025-04-30T14:00:48.522Z",
"createdChannel": "dashboard",
"currency": "USD",
"description": "Payment link description",
"id": "7dfa86ff-fd3a-45e1-8ecf-dc8a06ef65cd",
"imageUrl": null,
"inactiveMessage": null,
"metadata": null,
"name": "Payment Link",
"network": "testnet",
"redirectUrl": "https://www.blockradar.co/",
"slug": "payment-link-10012",
"successMessage": null,
"type": "payment",
"updatedAt": "2025-04-30T14:00:48.522Z",
"url": "https://pay.blockradar.co/payment-link-10012"
},
"message": "Payment Link created successfully",
"statusCode": 200
}