v1

latestOpenAPI 3.1.02026-07-226250251.5 KB
Customers

Attach Documents to Individual Customer

Attach proof of identity and proof of address documents to an existing individual customer

post/v1/customers/individual/attach

Request body

customer_idstring uuid required
tos_policies_valuestring required

Example request

{
  "customer_id": "55bd6b4e-c20a-4cc8-9535-91d5557a67d9",
  "proof_of_identity": {
    "type": "PASSPORT",
    "number": "A12345678",
    "country": "USA",
    "issue_date": "2020-01-15",
    "expiry_date": "2030-01-15",
    "files": [
      {
        "side": "FRONT",
        "uri": "/AbAcQ4hn_0652746727637.pdf"
      }
    ]
  },
  "proof_of_address": {
    "type": "UTILITY_BILL",
    "country": "USA",
    "files": [
      {
        "uri": "/AbAcQ4hn_0652746727638.pdf"
      }
    ]
  },
  "tos_policies_value": "e9414388-fbdf-4407-b5c2-bc39eae3645b"
}

Response

Documents attached successfully

Example response

{
  "data": {
    "customer_id": "55bd6b4e-c20a-4cc8-9535-91d5557a67d9"
  }
}