Skip to content

Create a Distributor

POST
/distributor/{distributor}

Register a new distributor.

Location
string
Example
http://pay.caspeco.net/v1/distributor/
Host
string

E.g. pay.caspeco.net

Example
pay.caspeco.net
Date
string

E.g. Tue, 15 Nov 2014 08:12:31 GMT

Example
Tue, 15 Nov 2014 08:12:31 GMT
Digest
string

E.g. SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=

Example
SHA-256=7oaYBB1oQVPy1BvP2ndYtxdD5EWNynt9lxCHzOdXb1A=
Media typeapplication/json
object
Name
string
DistributorId
string
Example
{
"Name": "Bob Smith",
"DistributorId": "12345678"
}

Created

Media typeapplication/json
object
Id
string
Code
string
Examples
Exampleresponse
{
"Id": "12345678",
"Code": "OK"
}