post/v3/clients

Request

  • Base URL
    https://gateway-154.netpaydev.com/gateway-ecommerce
  • URL
    https://gateway-154.netpaydev.com/gateway-ecommerce/v3/clients
  • Auth
    none required

Headers

Content-Typestring

application/json

Authorizationstring

SecretKey

Request body

firstNamestring required

Nombre del cliente

lastNamestring required

Apellido del cliente

phonestring required

Número telefónico del cliente

emailstring required

Correo electrónico del cliente

identifierstring required

Identificador del cliente (Propio del comercio)

Response

201

idstring
namestring
firstNamestring
lastNamestring
phonestring
emailstring
identifierstring
originationClientIdinteger
createdAtstring
updatedAtstring

Example response

{
  "id": "Ba1HD5NuXvFHM0X6PU4wc4q3VZ2!K=",
  "name": "John Doe",
  "firstName": "John",
  "lastName": "Doe",
  "phone": "5555555555",
  "email": "accept@netpay.com.mx",
  "identifier": "clientid-np-2000",
  "originationClientId": 57,
  "paymentSources": [
    {
      "paymentSource": "token_YWfPrNEARhAdCaJgdeXTQjiwcQKGPxDYWnTsTIUW",
      "sourceType": "card",
      "createdAt": "2021-11-19T23:49:37.928+0000",
      "updatedAt": "2021-11-19T23:49:37.928+0000"
    }
  ],
  "createdAt": "2021-11-19T23:49:37.927+0000",
  "updatedAt": "2021-11-19T23:49:37.927+0000"
}

Changes