API ReferenceV1 (Legacy)
Funds Routers
Create a funds router
AuthorizationBasic <token>
Base64-encoded clientId:clientSecret
In: header
Query Parameters
idempotencyId?string
Idempotency key for POST requests (cached 24h)
Format
uuidHeader Parameters
Obligo-Versionstring
API version header
Value in
"1"reference
routes?
metadata?object
Response Body
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/funds-routers?idempotencyId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "reference": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "Lease" } }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a funds router
AuthorizationBasic <token>
Base64-encoded clientId:clientSecret
In: header
Path Parameters
fundsRouterIdstring
Format
uuidHeader Parameters
Obligo-Versionstring
API version header
Value in
"1"Response Body
application/json
application/json
application/json
curl -X GET "https://api.obligo.com/funds-routers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"reference": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "Lease"
},
"routes": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"renterId": "5e8fd3a6-1229-4fc6-80e4-337191896d0b",
"type": "Credit",
"resource": {
"type": "PaymentMethod",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"metadata": {}
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Delete a funds router
AuthorizationBasic <token>
Base64-encoded clientId:clientSecret
In: header
Path Parameters
fundsRouterIdstring
Format
uuidHeader Parameters
Obligo-Versionstring
API version header
Value in
"1"Response Body
application/json
application/json
curl -X DELETE "https://api.obligo.com/funds-routers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1"Empty
{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Add a route
AuthorizationBasic <token>
Base64-encoded clientId:clientSecret
In: header
Path Parameters
fundsRouterIdstring
Format
uuidHeader Parameters
Obligo-Versionstring
API version header
Value in
"1"renterId?string
Format
uuidtypestring
Value in
"Credit" | "Debit"resource
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/funds-routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/routes" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "type": "Credit", "resource": { "type": "PaymentMethod", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Delete a route
AuthorizationBasic <token>
Base64-encoded clientId:clientSecret
In: header
Path Parameters
fundsRouterIdstring
Format
uuidrouteIdstring
Format
uuidHeader Parameters
Obligo-Versionstring
API version header
Value in
"1"Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.obligo.com/funds-routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/routes/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1"Empty
{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a route
AuthorizationBasic <token>
Base64-encoded clientId:clientSecret
In: header
Path Parameters
fundsRouterIdstring
Format
uuidrouteIdstring
Format
uuidHeader Parameters
Obligo-Versionstring
API version header
Value in
"1"resource?
Response Body
application/json
application/json
application/json
curl -X PUT "https://api.obligo.com/funds-routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/routes/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'Empty
{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}