Skip to main content
POST
/
v0
/
originators
/
{originator_id}
/
activate
Activate an Originator
curl --request POST \
  --url https://api.sandbox.lead.bank/v0/originators/{originator_id}/activate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "metadata": {}
}'
{
  "id": "originator_xyz123",
  "account_id": "account_xyz123",
  "entity_id": "entity_xyz123",
  "status": "active",
  "company_name": "Acme Inc.",
  "company_id": 1234567890,
  "ach": {
    "allowed_sec_codes": [
      "WEB"
    ],
    "limits": {
      "calendar_day_maximum_amount": {
        "credit": 495000000000,
        "debit": 495000000000
      },
      "rolling_30_calendar_day_maximum_amount": {
        "credit": 495000000000,
        "debit": 495000000000
      }
    },
    "nested_third_parties": [
      "entity_xyz123"
    ]
  },
  "metadata": {},
  "created_at": "2022-06-27T11:22:33Z",
  "updated_at": "2022-06-27T11:22:33Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

originator_id
string
required

The ID of the originator to be activated.

Pattern: ^originator_\w+$

Body

application/json
metadata
object

Updated metadata for the Originator.

Response

Successful response

id
string

The ID of the Originator.

Pattern: ^originator_\w+$
Example:

"originator_xyz123"

account_id
string

The ID of the Account object.

Pattern: ^account_\w+$
Example:

"account_xyz123"

entity_id
string

The ID of your entity.

Pattern: ^entity_[^\s]{1,33}$
Example:

"entity_xyz123"

status
enum<string>

Originator Status

Available options:
pending,
active,
inactive,
rejected,
canceled,
suspended
Example:

"active"

company_name
string
Maximum string length: 16
Example:

"Acme Inc."

company_id
string

ACH Company Id

Pattern: ^\d{10}$
Example:

1234567890

ach
object

ACH controls for originators.

metadata
object

A set of key-value pairs that can be used to store additional information related to this object.

created_at
string<date-time>
Example:

"2022-06-27T11:22:33Z"

updated_at
string<date-time>
Example:

"2022-06-27T11:22:33Z"