Kobble
  1. Endusers
Kobble
  • Introduction
  • Authorization
    • Authorization
    • Get access token
      POST
  • Beneficiaries
    • List all beneficiaries
      GET
    • Get beneficiary by ID
      GET
    • Create beneficiary
      POST
    • Update beneficiary
      PUT
  • Cards
    • Cards API
    • Get all cards
      GET
    • Create a new card
      POST
    • Get card by ID
      GET
    • Update card status
      PATCH
    • Replace or renew card
      POST
    • Generate card secret
      POST
  • Card Programs
    • Card Programs API
    • Get all programs
      GET
    • Create a new program
      POST
    • Get program by ID
      GET
  • Clients
    • Clients API
    • Get all clients
      GET
    • Get client by ID
      GET
    • Create a new client
      POST
    • Update client status
      PATCH
  • Endusers
    • Endusers API
    • Get all endusers
      GET
    • Create a new enduser
      POST
    • Get enduser by ID
      GET
  • Transactions
    • Transactions API
    • Get all transactions
    • Create a transaction
    • Get transaction by ID
    • Create manual credit transaction
    • Create manual debit transaction
  • Wallets
    • Wallets API
    • Get all wallets
    • Create a new wallet
    • Get wallet by ID
    • Update wallet
  • Relays
    • Relays API
    • Create subscription
  • Webhooks
    • Webhooks API
    • Get all webhooks
    • Create a webhook
    • Delete a webhook
  1. Endusers

Create a new enduser

POST
/customers/v1/endusers
Endusers
Create a new enduser to with person or company entity and metadata.

Request

Header Params
Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer {{access_token}}
Body Params application/json
optional
One of
person
object 
required
metadata
object 
required
company
object 
optional
Example
{
    "person": {
        "first_name": "Sam",
        "last_name": "Jhon",
        "email": "abn@bbc.com",
        "birthday": "1970-01-01",
        "phone_number": "+111111111111"
    },
    "metadata": {}
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/customers/v1/endusers' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "person": {
        "first_name": "Sam",
        "last_name": "Jhon",
        "email": "abn@bbc.com",
        "birthday": "1970-01-01",
        "phone_number": "+111111111111"
    },
    "metadata": {}
}'

Responses

🟢200OK
application/json
Body
id
string <uuid>
required
person
null  | allOf {1} 
optional
object (Person) 
optional
person_id
string <uuid> | null 
required
company
null  | allOf {1} 
optional
object (Company) 
optional
company_id
string <uuid> | null 
required
metadata
object 
required
Example
{
    "id": "07777ee5-491f-46cd-bc66-0bb5c02fcb7e",
    "company": {
        "id": "07777ee5-491f-46cd-bc66-0bb5c02fcb7e",
        "name": "sam"
    },
    "company_id": "b55d4ef2-7cc2-49c1-a718-f71d3ae9fef5",
    "metadata": {}
}
Previous
Get all endusers
Next
Get enduser by ID
Built with