Beneficiaries
List beneficiaries
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Query Parameters
010Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
curl -X GET "https://api.obligo.com/beneficiaries?offset=0&limit=10&sortBy=string&descending=true&search=string" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"totalItems": 0,
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"name": "string",
"type": "Company",
"address": {
"line": "string",
"line2": "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": {}
}
]
}Create a beneficiary
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Query Parameters
Idempotency key for write requests. Cached for 24 hours.
Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuid"Company" | "Individual"emailCapabilities to request for the beneficiary. Only Credit is supported.
items <= 1Response Body
application/json
application/json
curl -X POST "https://api.obligo.com/beneficiaries?idempotencyId=string" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "type": "Company" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a beneficiary
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X GET "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"name": "string",
"type": "Company",
"address": {
"line": "string",
"line2": "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"
}Update a beneficiary
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidemailResponse Body
application/json
application/json
curl -X PUT "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Request a capability for a beneficiary
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidQuery Parameters
Idempotency key for write requests. Cached for 24 hours.
Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidThe capability to request. Only Credit is supported.
"Credit"Response Body
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/capabilities?idempotencyId=string" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -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"
}Get company representatives
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuidResponse Body
application/json
application/json
curl -X GET "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/company-representatives" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"[
{
"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",
"line2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
]{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Add a company representative
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidQuery Parameters
Idempotency key for write requests. Cached for 24 hours.
Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuiddateemailResponse Body
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/beneficiaries/497f6eca-6276-4993-bfeb-53cbbbba6f08/company-representatives?idempotencyId=string" \ -H "Obligo-Version: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -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"
}Update a company representative
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuiduuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Required when operating on behalf of a connected account
uuiddateemailResponse Body
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: string" \ -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}