PlatformIntegrations
API ReferenceV1.2 (Current)

Beneficiaries

List beneficiaries

GET
/beneficiaries
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Query Parameters

offset?integer
Default0
limit?integer
Default10
sortBy?string
descending?boolean
search?string

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid

Response 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

POST
/beneficiaries
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Query Parameters

idempotencyId?string

Idempotency key for write requests. Cached for 24 hours.

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid
namestring
typestring
Value in"Company" | "Individual"
address?
phoneNumber?string
email?string
Formatemail
individual?
company?
capabilities?

Capabilities to request for the beneficiary. Only Credit is supported.

Itemsitems <= 1
metadata?

Response 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

GET
/beneficiaries/{beneficiaryId}
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid

Response 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

PUT
/beneficiaries/{beneficiaryId}
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid
name?string
address?
phoneNumber?string
email?string
Formatemail
individual?
company?
metadata?

Response 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 '{}'
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Request a capability for a beneficiary

POST
/beneficiaries/{beneficiaryId}/capabilities
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Query Parameters

idempotencyId?string

Idempotency key for write requests. Cached for 24 hours.

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid
typestring

The capability to request. Only Credit is supported.

Value in"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

GET
/beneficiaries/{beneficiaryId}/company-representatives
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid

Response 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

POST
/beneficiaries/{beneficiaryId}/company-representatives
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Query Parameters

idempotencyId?string

Idempotency key for write requests. Cached for 24 hours.

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid
firstNamestring
lastNamestring
dateOfBirth?string
Formatdate
ssnLastFour?string
phoneNumber?string
email?string
Formatemail
address?

Response 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

PUT
/beneficiaries/{beneficiaryId}/company-representatives/{companyRepresentativeId}
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

beneficiaryIdstring
Formatuuid
companyRepresentativeIdstring
Formatuuid

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid
firstName?string
lastName?string
dateOfBirth?string
Formatdate
ssnLastFour?string
phoneNumber?string
email?string
Formatemail
address?

Response 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 '{}'
Empty
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}