Skip to main content
Create EDD Request
curl --request POST \
  --url https://api.sigma.pastel.africa/api/v1/edd/requests \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "<string>",
  "lastName": "<string>",
  "middleName": "<string>",
  "dob": "2023-12-25",
  "uniqueId": "<string>",
  "pipelineSlug": "<string>",
  "accountOfficer": "jsmith@example.com",
  "bvnNumber": "<string>",
  "ninNumber": "<string>",
  "phone": "<string>",
  "email": "jsmith@example.com",
  "nationality": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "requestId": "<string>",
    "status": "pending",
    "pipeline": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Body

application/json

EDD request payload

firstName
string
required

Customer's first name

lastName
string
required

Customer's last name

dob
string<date>
required

Date of birth in YYYY-MM-DD format

uniqueId
string
required

Unique identifier for the customer

pipelineSlug
string
required

Slug of the EDD pipeline to use

accountOfficer
string<email>
required

Email of the account officer

middleName
string

Customer's middle name

bvnNumber
string

Bank Verification Number

ninNumber
string

National Identification Number

phone
string

Customer's phone number

email
string<email>

Customer's email address

nationality
string

Customer's nationality

Response

EDD request created successfully

success
boolean

Indicates if the request was successful

message
string

Success message

data
object
I