Beneficiaries
List beneficiaries
Base64-encoded clientId:clientSecret
In: header
Query Parameters
00 <= value101 <= value <= 100Filter by metadata key-value pair
Header Parameters
API version header
"1"Response Body
application/json
application/json
curl -X GET "https://api.obligo.com/beneficiaries?offset=0&limit=10&sortBy=string&descending=true&search=string&metadata%5Bkey%5D=string" \ -H "Obligo-Version: 1"{
"totalItems": 0,
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"name": "string",
"type": "Company",
"address": {
"line": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
},
"phoneNumber": "string",
"email": "user@example.com",
"individual": {
"dateOfBirth": "2019-08-24",
"ssnLastFourProvided": true
},
"company": {
"formedAt": "2019-08-24",
"taxIdProvided": true
},
"capabilities": [
{
"type": "Credit",
"enabled": true,
"requirements": [
{
"type": "string",
"status": "Due",
"errorCode": "string"
}
]
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"metadata": {}
}
]
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Create a beneficiary
Base64-encoded clientId:clientSecret
In: header
Query Parameters
Idempotency key for POST requests (cached 24h)
uuidHeader Parameters
API version header
"1""Company" | "Individual"emailResponse Body
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/beneficiaries?idempotencyId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "type": "Company" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a beneficiary
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
application/json
curl -X GET "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"name": "string",
"type": "Company",
"address": {
"line": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
},
"phoneNumber": "string",
"email": "user@example.com",
"individual": {
"dateOfBirth": "2019-08-24",
"ssnLastFourProvided": true
},
"company": {
"formedAt": "2019-08-24",
"taxIdProvided": true
},
"capabilities": [
{
"type": "Credit",
"enabled": true,
"requirements": [
{
"type": "string",
"status": "Due",
"errorCode": "string"
}
]
}
],
"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"
}Update a beneficiary
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"emailResponse Body
application/json
application/json
application/json
curl -X PUT "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Request a capability
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1""Credit" | "Debit"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/capabilities" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "type": "Credit" }'{
"type": "Credit",
"enabled": true,
"requirements": [
{
"type": "string",
"status": "Due",
"errorCode": "string"
}
]
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get company representatives
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
application/json
curl -X GET "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/company-representatives" \ -H "Obligo-Version: 1"[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"dateOfBirth": "2019-08-24",
"firstName": "string",
"lastName": "string",
"ssnLastFourProvided": true,
"phoneNumber": "string",
"email": "user@example.com",
"address": {
"line": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
]{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Add a company representative
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidQuery Parameters
Idempotency key for POST requests (cached 24h)
uuidHeader Parameters
API version header
"1"dateemailResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/company-representatives?idempotencyId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "firstName": "string", "lastName": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a company representative
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuiduuidHeader Parameters
API version header
"1"dateemailResponse Body
application/json
application/json
application/json
curl -X PUT "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/company-representatives/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}