BudPay

Popular Searches:
Payment Features

Create Payment Link

The Payment link API allows you create a payment link directly on your integration.

Create Payment Link

Create a payment link on your integration

Endpoint: /create_payment_link
Method: POST

Header

Param Type Required? Decription
authorization string Yes Set value to Bearer SECRET_KEY
content-type string Yes Set value to application/json

Body Param

Param Type Required? Decription
amount string Yes Payment Amount
name string Yes Customer's fullname name
currency string Yes currency
redirect string Yes redirect url
description string Yes payment description.

Sample Post

                            
                                curl https://api.budpay.com/api/v2/create_payment_link
                                -H "Authorization: Bearer YOUR_SECRET_KEY"
                                -H "Content-Type: application/json"
                                -d '{ "amount": "2500",
                                    "currency": "NGN",
                                    "name": "Name",
                                    "description": "my description",
                                    "redirect": "https://your_redirect_link"
                                    }'
                                -X POST
                            
                        

Sample Response

                            
                                {
                                    "status": true,
                                    "message": "Payment Link created successfully",
                                    "data": {
                                        "ref_id": "29494829",
                                        "payment_link": "https://www.budpay.com/paymentlink/30838291l2dxf6fs1d7m6137c64n"
                                    }
                                }