PAYMENT LINKS ON PEERWALLET

peerwallet

Introduction

 

 

You can accept payment online with peerwallet easily via various methods; this is how to create a payment link which can then be embedded into your website or manually creating a payment link. Every integration requires us to first generate a payment link, so this is always the first step for all configurations

 

peerwallet

Call URL

Here is your public key which you can find in your dashboard. To use this, please make sure the status is turned as ON.

https://peerwallet.com/pay/create-link

 

peerwallet

Variables

Below are the variables to be sent and their meaning.

api-public-key

Here is your public key which you can find in your dashboard. To use this, please make sure the status is turned as ON.

email

On Peerwallet, each payment link is directed to a user, if the user is already registered on Peerwallet, then you should use the user's peerwallet email. If the user doesn't have an account on Peerwallet, an account would be created for the user automatically.

fname

This is the First name of the user

lname

This is the Last name of the user

address

This is the address associated to the user's billing address. Some payment option would require this

city

This is the city associated to the user's billing address

state

This is the State associated to the user's billing address

postal

This is the Postal code or Zip code associated to the user's billing address

country

This is the Country name associated to the user's billing address. Allowed values here is US,UK,NG,RU,GH e.t.c

phone

With or without the country code would work

amount

amount The amount which the user would pay

currency_code

The currency in which the user would pay, example here is USD,EUR,NGN,CNY,GBP,INR,AUD, e.t.c

language

When you select the correct country, your user would be able to pay with a translated version of Peerwallet. Default here is en. Pass language codes like, en, fr, de, and so on.

secret

Here is the secret code associated to this payment link which would be needed to fetch the transaction status later on. Each payment link MUST have a unique secret code.

order_name

This is the name of the order.

order_description

Here is a detailed description for the order.

redirect_url

Here is where users are redirected to when payment has been completed.

callback_url

Here is where values would be sent to after transaction has been processed. For either failed or successful transactions.


 

                                    


                                    {
                                        api-public-key,
                                        fname,
                                        lname,
                                        address,
                                        city,
                                        state,
                                        postal,
                                        country,
                                        phone,
                                        currency_code,
                                        language,
                                        secret,
                                        order_name,
                                        order_description,
                                        redirect_url,
                                        callback_url
                                     }