PlatformIntegrations
API ReferenceV1 (Legacy)

Beneficiaries

List beneficiaries

GET
/beneficiaries
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Query Parameters

offset?integer
Default0
Range0 <= value
limit?integer
Default10
Range1 <= value <= 100
sortBy?string
descending?boolean
search?string
metadata[key]?string

Filter by metadata key-value pair

Header Parameters

Obligo-Versionstring

API version header

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

POST
/beneficiaries
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Query Parameters

idempotencyId?string

Idempotency key for POST requests (cached 24h)

Formatuuid

Header Parameters

Obligo-Versionstring

API version header

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

Response 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

GET
/beneficiaries/{beneficiaryId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

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

PUT
/beneficiaries/{beneficiaryId}
AuthorizationBasic <token>

Base64-encoded clientId:clientSecret

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
name?string
address?
phoneNumber?string
email?string
Formatemail
individual?
company?
metadata?object

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

Request a capability

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

Base64-encoded clientId:clientSecret

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

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

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

Base64-encoded clientId:clientSecret

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

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

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

Base64-encoded clientId:clientSecret

In: header

Path Parameters

beneficiaryIdstring
Formatuuid

Query Parameters

idempotencyId?string

Idempotency key for POST requests (cached 24h)

Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
firstNamestring
lastNamestring
dateOfBirth?string
Formatdate
ssnLastFour?string
phoneNumber?string
email?string
Formatemail
address?

Response 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

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

Base64-encoded clientId:clientSecret

In: header

Path Parameters

beneficiaryIdstring
Formatuuid
companyRepresentativeIdstring
Formatuuid

Header Parameters

Obligo-Versionstring

API version header

Value in"1"
dateOfBirth?string
Formatdate
firstName?string
lastName?string
ssnLastFour?string
phoneNumber?string
email?string
Formatemail
address?

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