🧘♀️Donations Payment link
Manage donations payment links
Introduction
Donation payment links can be created for people to support a cause that they care about
You can also create donation payment links using our APIs or our Libraries.
Create a new donation payment Link
Create a new donation payment link
POST
https://api.lazerpay.engineering/api/v1/payment_links/donation
Request Body
Name | Type | Description |
---|---|---|
action* | String | "action": { "redirect": false, "redirect_url": "https://local.com/confirm", "show_confirmation_page": false, "success_message": "thank you budd!" }, |
options* | String | "options": { "collect_phone": true, "allow_promo": true, "collect_address": true }, |
description* | String | ex : "Donate here" |
is_active* | boolean | true or false |
title* | String | ex: "Payment for Merchandise With Cash" |
social_links | String | "social_links": { "facebook":"fb.me/uche", "instagram": "noelukwa", "twitter" :"noelukwa" }, |
cover_photo | String | URL | "https://random-cover-photo.jpeg" |
website_url | String | "https://uche.com" |
Example : cURL
Update an existing donation payment Link
Update an existing donation payment link
PUT
https://api.lazerpay.engineering/api/v1/payment_links/donation
Request Body
Name | Type | Description |
---|---|---|
action* | String | "action": { "redirect": false, "redirect_url": "https://local.com/confirm", "show_confirmation_page": false, "success_message": "thank you budd!" }, |
options* | String | "options": { "collect_phone": true, "allow_promo": true, "collect_address": true }, |
description* | String | ex : "Donate here" |
is_active* | boolean | true or false |
title* | String | ex: "Payment for Merchandise With Cash" |
social_links | String | "social_links": { "facebook":"fb.me/uche", "instagram": "noelukwa", "twitter" :"noelukwa" }, |
cover_photo | String | URL | "https://random-cover-photo.jpeg" |
website_url | String | "https://uche.com" |
id* | String | "362e16ce-226b-4e58-92f9-XXXX" |
Example : NodeJs - Request
Last updated