Skip to main content
POST
Create Vendor
The API provides a means for merchants or administrators to add new vendors to the system with essential details.

Request Body

Responses

200 OK

400 Bad Request

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
vendor_id
string
required

provided by merchant

name
string
default:Vendor Name
required

Vendor Name, this field will not accept any special char other then space

email
string
required

a valid email address

phone
string
upi_id
string

vpa of merchant, if provided will be used as a default option

bank_details
object

Response

200

success
boolean
default:true
Example:

true

message
string
Example:

"Vendor added successfully"

vendor_id
string
Example:

"unique_vendor_id"

id
string
Example:

"unique_vendor_platform_id"