Add Buyer credit via REST API

Follow

This feature allows you to add Buyer credit via our REST API. Useful if you've followed the Create Buyers via REST API article and have your Buyers created in LeadByte or if you simply want to automate the adding of credit. 

 

Getting Started

In order to search via the REST API, you'll need a REST API key with the correct permissions.

Head to the Admin tab > Tech Hub > REST API to get started:

1) Create yourself an Administrator Key

2) Ensure the Administrator Key has the Credit > Add permission

3) Activate your Administrator Key

 

Adding credit

In order to add your Buyer credit, you'll be making a JSON Post to the below URL:

https://helpcentre.leadbyte.com/restapi/v1.3/credit/add

 

With the following body:

{
"key": "[API KEY GOES HERE]",

"BID": "1234",

"amount": "100.00"
}

 

Response

{
"status": "Success",
"message": "OK",
"warnings": [ ],
}

 

As always, please raise a support ticket with any questions or concerns.

Was this article helpful?
0 out of 0 found this helpful

Comments