- Autenticação
- Fatura
- Clientes
- Merchant
- Produtos
- Webhooks & Gatilhos
- Utilidades
- Login Admin CopyPOST
- Create Merchant CopyPOST
Create Merchant Copy
POST
http://{{app_url}}/backoffice/v1/merchant/create
Requisição
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Exemplo:
Authorization: Bearer ********************
Parâmetros Bodyapplication/json
cnpj
string
requerido
business_name
string
requerido
business_alias
string
requerido
address
object
requerido
zipcode
string
requerido
street
string
requerido
number
string
requerido
complement
string
requerido
neighborhood
string
requerido
city
string
requerido
state
string
requerido
email
string
requerido
user
object
requerido
fullname
string
requerido
cpf
string
requerido
email
string
requerido
cellphone
string
requerido
password
string
requerido
security_password
string
requerido
withdraw_account
object
requerido
pix
string
requerido
meta
object
requerido
Exemplo
{
"cnpj": "05669150000106",
"business_name": "BOM CREDITO SCM",
"business_alias": "Fatori SCM",
"address": {
"zipcode": "89201740",
"street": "Rua Expedicionario Holz",
"number": "550",
"complement": "ANDAR 18 SALA 1805",
"neighborhood": "America",
"city": "Joinville",
"state": "SC"
},
"email": "daniel@fatoripay.com.br",
"user": {
"fullname": "Daniel Leal",
"cpf": "07120188917",
"email": "daniel@fatoripay.com.br",
"cellphone": "41988555949",
"password": "matrix1999",
"security_password": "matrix1999"
},
"withdraw_account": {
"pix": "05669150000106"
},
"meta": {}
}
Exemplos de Requisição
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://{{app_url}}/backoffice/v1/merchant/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"cnpj": "05669150000106",
"business_name": "BOM CREDITO SCM",
"business_alias": "Fatori SCM",
"address": {
"zipcode": "89201740",
"street": "Rua Expedicionario Holz",
"number": "550",
"complement": "ANDAR 18 SALA 1805",
"neighborhood": "America",
"city": "Joinville",
"state": "SC"
},
"email": "daniel@fatoripay.com.br",
"user": {
"fullname": "Daniel Leal",
"cpf": "07120188917",
"email": "daniel@fatoripay.com.br",
"cellphone": "41988555949",
"password": "matrix1999",
"security_password": "matrix1999"
},
"withdraw_account": {
"pix": "05669150000106"
},
"meta": {}
}'
Respostas
🟢200Create Merchant
application/json
Body
uuid
string
requerido
business_name
string
requerido
business_alias
string
requerido
cnpj
string
requerido
email
string
requerido
address
object
requerido
zipcode
string
requerido
street
string
requerido
number
string
requerido
complement
string
requerido
neighborhood
string
requerido
city
string
requerido
state
string
requerido
status
string
requerido
withdraw_account
object
requerido
pix
string
requerido
user
object
requerido
uuid
string
requerido
fullname
string
requerido
cpf
string
requerido
email
string
requerido
status
string
requerido
permissions
null
requerido
operational_limits
null
requerido
api_access
object
requerido
wallets
object
requerido
total
string
requerido
available
string
requerido
blocked
string
requerido
Exemplo
{
"uuid": "98c5c31c-3a5f-4b5e-b4b5-9c595c3c4dca",
"business_name": "BRG Teste",
"business_alias": "BRG",
"cnpj": "25305876000177",
"email": "daniel.leal.san@gmail.com",
"address": {
"zipcode": "82200300",
"street": "Rua Rev. Paulo Hecke",
"number": "455",
"complement": "Sobrado C",
"neighborhood": "ahu",
"city": "Curitiba",
"state": "PR"
},
"status": "active",
"withdraw_account": {
"pix": "25305876000177"
},
"user": {
"uuid": "e4620af0-8cd7-4a2b-b7c9-0d1e198a7508",
"fullname": "Daniel Leal dos Santos",
"cpf": "07120188917",
"email": "daniel.leal.san@gmail.com",
"status": "active",
"permissions": null,
"operational_limits": null,
"api_access": {
"client_id": "5263478d-ac40-45fb-9dc2-c14a3cecd8ed",
"client_secret": "94a2db7e-ad0e-4b00-b17a-6a3cff116f0b"
}
},
"wallets": {
"total": "0",
"available": "0",
"blocked": "0"
}
}
Modified at 2024-10-10 18:23:35