Fundraiser
This will create a link fundraiser to selected campaign from Ayobantu partner.
Create Fundraiser
POST {base_url}/api/v1/partner/fundraiser
Register the user/customer and make them as a fundraiser from one of the campaign
Headers
Accept
String
application/json
Authorization
String
Bearer <api_token>
Content-Type*
String
application/json
Request Body
name*
String
John Doe (Alpha/Numeric Only)
phone*
Numeric
0812345678 (6-20 digit)
signature_key*
String
Signature code generated every time you make a request. See more, click here.
Formula:
hash("sha512", name + phone + email + campaign_id + partner_code + secret_key);
Output:
a2a1d0baa527318794f77122e8b35eb19c83498fb535897d58bcf0fc6a00b3c0de5a113a1d53caa748a0bdcf0b0d6fd941d1ffa6801f0bb99d370f1c83aa13db
campaign_id*
Numeric
id is obtained from campaign submitted by partners or can be provided by Ayobantu.
{
"status_code": "200",
"message": "Success",
"data": ""
}{
"status_code": "404",
"message": "The requested resource is not found",
"erros": [
"Partner not found"
]
}{
"status_code": "500",
"message": "Internal Server Error",
"erros": [
"Registration failed"
]
}Last updated