latestOpenAPI 3.0.02026-08-1411579732.4 KB

6bf9c0ba354b

Comercios
Merchants

Crear

Mediante este método, podemos crear un nuevo comercio bajo el cliente indicado en parent_uuid. Si no se incluye parent_uuid o se indica a nulo, el comercio se creará por defecto bajo el cliente al que pertenecen las credenciales.

post/client

Parameters

#/paths/~1/get/parameters/0 — unresolved $ref

Request body

signatureSignature required— unresolved $ref
namestring required

Nombre del comercio.

emailstring required

Email.

timezoneboolean required

Zona horaria del comercio.

autorecover_transactionsboolean

Recuperar automáticamente transacciones pendientes.

resend_failed_notificationsboolean

Marcar a true para reenviar peticiones al comercio que no hayan devuelto un 200 a Paylands.

category'ACCOUNTING_SERVICES' | 'ADULT' | 'ALCOHOL' | 'CBD' | 'CELL_PHONE_SALES' | 'CHARITY' | 'COMPUTING_AND_HARDWARE' | 'COMPUTING_SERVICES' | 'CROWDFUNDING' | 'CROWDLENDING' | 'CRYPTO' | 'CURRICULUMS' | 'DATING_AND_SCORT_SERVICES' | 'E_COMMERCE' | 'ELECTRONIC_CIGARETTE' | 'EVENTS_SALES' | 'FOREX_WITH_LICENSE' | 'FOREX_WITHOUT_LICENSE' | 'GAMBLING_WITH_LICENSE' | 'GAMBLING_WITHOUT_LICENSE' | 'GAMING' | 'HOSTING_SERVICES' | 'HOTELS' | 'JEWELRY' | 'LEGAL_SERVICES' | 'MARKETPLACE' | 'MOBILE_RECHARGE' | 'MONEY_REMMITANCE' | 'NUTRITION' | 'PAYDAY_LOANS' | 'TOBACCO' | 'TOUR_OPERATOR_OTAS' | 'VOUCHERS' | 'WALLETS'

Categoría del comercio.

mccstring

Código de categoría del comercio, debe contener cuatro números.

parent_uuidstring nullable

Indica el padre del comercio si se desea crear bajo un cliente distinto al que realiza la petición.

Example request

{
  "signature": "121149a0ba5361191d740fa898784a8b",
  "name": "Client Name",
  "email": "email@email.com",
  "timezone": "Europe/Madrid",
  "autorecover_trasactions": false,
  "resend_failed_notifications": false,
  "category": "HOTELS",
  "mcc": "5732",
  "parent_uuid": "8dc780e8-c311-4791-a47f-c1a272ffbb87"
}

Response

OK

messagestring required

Nombre del código HTTP de respuesta.

codenumber required

Código de respuesta.

current_timestring required

Fecha y hora de la petición.