API
HomeEasytransac
HomeEasytransac
  1. API - User
  • Start
    • API Domain Usage
    • Get an API key
    • Communication
  • Documentation
    • Errors
      • ApiError codes
    • Webhooks
      • PUSH Method
      • PULL Method
  • V2
    • Overview
    • Authentication
      • JWT access token - Generate
        POST
    • Endpoints
      • Open Banking
        • Open Banking - Initialize
      • SDD
        • SDD - Mandate - Create
        • SDD - Mandate - Debit
        • SDD - Mandate - Get status
      • Transaction
        • Transaction - Get status
  • V1
    • Documentation
      • Signature
    • Authentication
      • Overview
      • Security
      • PSD2 and 3DSecure
    • API - Payment
      • Recurring payments
      • Card payment
      • 1-click payment
      • SEPA Direct Debit
      • Transfer (Open Banking)
      • Payment page
      • Cancel a payment page
      • Resend the payment page
      • P2P Transfert
      • Update a subscription
      • Status
      • Refund
      • Capture
      • Cancellation
      • List of cards
      • List of IBANs
      • History
      • Payment requests
      • Card information
    • API - User
      • Add a merchant
        POST
      • Update a merchant
        POST
      • Search for a merchant
        POST
      • List of movements
        POST
      • Make a payout
        POST
      • List all payouts
        POST
      • Add a logo
        POST
      • Get the activity
        POST
      • Update activity
        POST
    • API - Document
      • Add a document
      • Get a document
      • List documents
  1. API - User

Add a merchant

Sandbox
https://api.sandbox.easytransac.com/v2
Sandbox
https://api.sandbox.easytransac.com/v2
POST
/api/user/add
API - User
This service allows you to create a new professional on your Easytransac "Enterprise" account. This user will be updated if he already exists.

Request

Body Params application/x-www-form-urlencoded
Email
string 
required
Unique Easytransac email address
<= 128 characters
Firstname
string 
required
Firstname
Lastname
string 
required
Lastname
Password
number 
optional
6 length password
Identifier
string 
optional
Your company identifier
Company
string 
optional
Company and/or subsidiary
CompanyType
enum<string> 
optional
Type of company
Allowed values:
entrepreneurcompanyassociationpublic
CompanyAddress0
string 
optional
Company address (first line is optional)
CompanyAddress
string 
optional
Company address
CompanyZipCode
string 
optional
Postal code of the company
CompanyCity
string 
optional
City of the company
CompanyCountry
string 
optional
Country of the company (ISO 3166-1 Alpha 3)
Gender
string 
optional
Gender
Address
string 
optional
Address
ZipCode
string 
optional
Postal code
City
string 
optional
City
Country
string 
optional
Country of residence
CallingCode
string 
optional
Calling code
Phone
string 
optional
Phone number
BirthDate
string <YYYY-MM-DD>
optional
Birth date
Nationality
string 
optional
Nationality (ISO 3166-1 Alpha 3)
AccountOwner
string 
optional
Account owner
Iban
string 
optional
IBAN
Bic
string 
optional
BIC
Vat
string 
optional
VAT number
Siret
string 
optional
SIRET number
AdditionalEmail
string 
optional
Address that will also receive emails to the main account address
<= 128 characters
ActivationEmail
enum<string> 
optional
Send activation email (disabled by default)
If enabled, will not send the WelcomeEmail
Allowed values:
yesno
WelcomeEmail
enum<string> 
optional
Send the welcome email containing a random password or the one specified in the Password field (enabled by default)
Allowed values:
yesno
Signature
string 
required
Signature to verify the integrity of the data sent

Request samples

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 --request POST 'https://api.sandbox.easytransac.com/v2/api/user/add' \
--data-urlencode 'Email=' \
--data-urlencode 'Firstname=' \
--data-urlencode 'Lastname=' \
--data-urlencode 'Signature='

Responses

🟢200Response
application/json
Body
Code
integer 
optional
Example:
0
Signature
string 
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
object 
optional
Id
string 
optional
Example:
438
Email
string 
optional
Example:
john@doe.com
Identifier
string 
optional
Example:
FR123456789
KYC
number 
optional
Example:
2
Company
string 
optional
Example:
IBM Strasbourg
CompanyType
enum<string> 
optional
Allowed values:
entrepreneurcompanyassociationpublic
Example:
entrepreneur
CompanyCountry
string 
optional
Example:
FRA
Gender
string 
optional
Example:
male
Firstname
string 
optional
Example:
John
Lastname
string 
optional
Example:
Doe
Address
string 
optional
Example:
26 green street
ZipCode
string 
optional
Example:
75001
City
string 
optional
Example:
Paris
Country
string 
optional
Example:
FRA
CallingCode
string 
optional
Example:
33
Phone
string 
optional
Example:
0611223344
BirthDate
string 
optional
Example:
2019-06-03
Nationality
string 
optional
Example:
FRA
AccountOwner
string 
optional
Example:
Mr John Doe
Iban
string 
optional
Example:
FR1420041010050500013M02606
Bic
string 
optional
Example:
CEPAFRPP118
Vat
string 
optional
Example:
FR11555888666
Siret
string 
optional
Example:
55588866600011
JoinDate
string 
optional
Example:
2015-09-10 14:30:27
Balance
string 
optional
Example:
100.00
ConditionsAccepted
string 
optional
Example:
yes
Active
enum<string> 
optional
Allowed values:
yesno
Example:
yes
Tester
enum<string> 
optional
Allowed values:
yesno
Example:
yes
CompanyLogo
string 
optional
Example:
https://www.easytransac.com/showlogo/xxx
Example
{
  "Code": 0,
  "Signature": "1f51786246a940677afe71f6968972fd46500bd1",
  "Result": {
    "Id": "438",
    "Email": "john@doe.com",
    "Identifier": "FR123456789",
    "KYC": 2,
    "Company": "IBM Strasbourg",
    "CompanyType": "entrepreneur",
    "CompanyCountry": "FRA",
    "Gender": "male",
    "Firstname": "John",
    "Lastname": "Doe",
    "Address": "26 green street",
    "ZipCode": "75001",
    "City": "Paris",
    "Country": "FRA",
    "CallingCode": "33",
    "Phone": "0611223344",
    "BirthDate": "2019-06-03",
    "Nationality": "FRA",
    "AccountOwner": "Mr John Doe",
    "Iban": "FR1420041010050500013M02606",
    "Bic": "CEPAFRPP118",
    "Vat": "FR11555888666",
    "Siret": "55588866600011",
    "JoinDate": "2015-09-10 14:30:27",
    "Balance": "100.00",
    "ConditionsAccepted": "yes",
    "Active": "yes",
    "Tester": "yes",
    "CompanyLogo": "https://www.easytransac.com/showlogo/xxx"
  }
}
Previous
Card information
Next
Update a merchant
Built with