Offers
This would show all active offers on Peerwallet, you can search using your preferred offer by adding other values to the call.
End Point
"https://calls.peerwallet.com
/offers"
Send your keys via headers
VALUE
api-public-key
REQUIRED
YES
DESCRIPTION
This is your Public API Keys which can be found here.https://peerwallet.
com/map/api-keys
Below are the POST values to send and their explanations on each field.
VALUE
currency
REQUIRED
NO
DESCRIPTION
You can limit your search by adding a currency, example; USD
payment_method
NO
You can limit your search by adding a preferred payment method, example; PayPal
exchange_rate
NO
You can limit your search by adding a maximum exchange rate. Example if you add 2.0 only offers within 2.0 would be returned not greater than 2.0
checkout_status
NO
You can limit your search by adding a checkout status as YES or NO. Checkout status as YES means it would return only offers that qualify to be used at the gateway
Post Fields
"api-public-key"
Return Values Success Sample
{
"status": 200,
"data":{
"offer_id":"QOP09SOLA" ,
"currency": "GBP" ,
"exchange_rate": 1.09 ,
"min_order":100 ,
"max_order": 2000 ,
"payment_method": PayPal,
"description": "Here is the description written by the Merchant. It’s the terms for the offer" ,
"checkout_status": 1 ,
"restricted_currencies": "Allow All" ,
"restricted_currencies": "Allow All" ,
"only_verified_domains":0 ,
"only_verified_users":1 ,
"allowed_time": 30 ,
"merchant":"Test User" ,
},
"note": "Offer has been successfully fetched"
}
Return Values Error Sample
{
"status": 500,
"note":"Offer could not be fetched"
}