Skip to main content
POST
/
v1
/
bank
/
customers
Create Customers
curl --request POST \
  --url https://api.peere.network/v1/bank/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customers": [
    {
      "firstname": "<string>",
      "lastname": "<string>",
      "accountName": "<string>",
      "email": "<string>",
      "country": "<string>",
      "accountNumber": "<string>",
      "reference": "<string>",
      "clientRef": "<string>",
      "middlename": "<string>",
      "address": "<string>",
      "gender": "<string>",
      "phone": "<string>"
    }
  ]
}
'
{
  "success": true,
  "message": "Batch processed, customers will reflect shortly",
  "statusCode": 201,
  "data": {
    "batchId": "<string>",
    "status": "<string>",
    "summary": {
      "total": 123,
      "successful": 123,
      "failed": 123,
      "duplicates": 123,
      "invalidData": 123
    },
    "data": {
      "createdCount": 123,
      "customerIds": [
        "<string>"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
customers
object[]

Response

Customers created successfully

success
boolean
Example:

true

message
string
Example:

"Batch processed, customers will reflect shortly"

statusCode
integer
Example:

201

data
object