POST
/
payments
/
juspay
/
customers
curl --request POST \
  --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/payments/juspay/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "<string>"
}'
{
  "message": "<string>",
  "success": true,
  "content": {
    "data": {
      "id": "<string>",
      "object": "<any>",
      "object_reference_id": "<string>",
      "mobile_number": "<string>",
      "email_address": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "date_created": "<string>",
      "last_updated": "<string>",
      "mobile_country_code": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Access token

Body

application/json
user_id
string

commercengine user id.

Response

200
application/json
OK
message
string
required
success
boolean
required
content
object
required