EasyEuro OpenAPI
  1. 03.DocumentFile
EasyEuro OpenAPI
  • Get started
  • Release Note
  • 01.Authentication
    • new token
      POST
  • 02.Webhook
    • Webhook Get Started
    • register a new webhook
      POST
    • delete webhook by id
      DELETE
    • query webhook by id
      GET
    • query registered webhook
      GET
    • callback notification demo
      GET
    • Mock Webhook Callback Event
      POST
  • 03.DocumentFile
    • create document file
      POST
    • upload document file
      POST
    • create and upload document file
      POST
    • page query document file
      GET
  • 04.OperationTicket
    • OperationTicket Get Started
    • new OperationTicket
      POST
    • reopen OperationTicket
      POST
    • get OperationTicket by id
      GET
    • page query OperationTicket
      GET
    • review OperationTicket
      POST
  • 10.Wallet
    • Wallet Get Started
    • create wallet
      POST
    • get wallet by id
      GET
    • page query wallets
      GET
    • modify wallet info
      POST
    • upload KYC file
      POST
    • submit for KYC
      POST
    • submit KYC doc files
      POST
    • submit onboarding-question-answer
      POST
    • submit onboard-question-answer
      POST
    • cancel wallet kyc
      POST
    • close wallet
      POST
    • sync sumsub shareToken
      POST
    • open IDV session
      POST
    • get IDV session detail
      GET
    • pass wallet KYC (sandbox only)
      POST
    • reject wallet KYC (sandbox only)
      POST
  • 11.BankAccount
    • BankAccount Get Started
    • query wallet accounts
    • create account
    • query account details by id
    • query funding account numbers
    • query account balance
    • query the account entry
    • query the account balance block entry
    • close account
  • 12.FundsIn
    • FundsIn Get Started
    • get funds in order
    • page query funds in orders
    • refund funds in order
    • accept funds in order
    • Mock Funds In
    • get funds in refund receipt
  • 13.SecureTransfer
    • SecureTransfer Get Started
    • new SecureTransfer
    • undo SecureTransfer
    • query SecureTransfer by id
    • page query SecureTransfer
    • submit file of reference orders
  • 14.TransferRecipient
    • Recipient Get Started
    • Create a SEPA recipient
    • Create a Crypto recipient
    • Create a FPS recipient
    • Create a SWIFT recipient
    • Create a CHATS recipient
    • Create a DKK local recipient
    • Create a ACH recipient
    • Upload recipient account proof
    • Query a recipient
    • Page query wallet recipients
  • 15.Transfer(PayOut)
    • Transfer Get Started
    • new transfer order
    • query transfer order by id
    • page query transfer orders
    • query transfer by requestId
    • get transfer receipt
  • 16.FundsSettlement
    • synchronize user business order
    • query custody balance
  • 20.Card-Issuing
    • Card-Issuing get started
    • Query Wallet Cardholder
    • Update Wallet Cardholder
    • Apply Virtual Card
    • Apply Physical Card
    • Activate Card
    • Lock Card
    • Unlock Card
    • Close Card
    • Query Card Txn Switch
    • Update Card Txn Switch
    • Update Card Cardholder
    • Page Query Card
    • Query Card
    • Query Card Secure Info
    • Query Card PIN
    • Increase Card Available Balance
    • Decrease Card Available Balance
    • Query Card Available Balance
    • Page Query Card Balance Operation Record
    • Approve Card 3DS Auth
    • Reject Card 3DS Auth
    • Query Card 3DS Auth
    • Query Card Transaction
    • Page Query Card Transaction
    • Query Card Transaction Action
    • Page Query Card Transaction Action
    • Mock Card Transaction
    • Mock Card Transaction 3DS Auth
    • Mock Card Transaction Operation
    • Card Transaction Authorization Relay
    • Request Card App Access Token
    • Get Card APP Application ID
  • 30.CardPayment
    • CardPayment Get Started
    • Payment
      • New Payment
      • New Direct Payment
      • Refund
      • Get Transaction By Id
      • Query Transactions
    • TopUp
      • Create a Top-up Transaction
      • Refund
      • Get Top-up Transaction by Id
      • Query Top-up Transactions
    • CardToken
      • Delete Bound Card Token
      • Get Card Token By Id
      • Query Card Tokens
    • FundsSettlement
      • Settlement Get Started
      • query settlement
      • query statements
      • download statement file
      • query unsettled amount
    • Notification
      • Card Transaction CallbackEvent
      • CardToken Bound Callback Event
    • dispute
      • Download Dispute File
  • 31.Forex
    • Forex Get Started
    • Get FX Rate
    • Get FX Quote
    • Create FX Order
    • Get FX Order
  • 32.Top-Up-Deleted
    • Top-Up Get Started
    • transaction
      • Create Top-up Order
      • Refund Top-up Order
      • Get Top-up Order
      • Get Top-up Action
      • Query Top-up Orders
      • Query Top-up Actions
    • settlement
      • Query Statements
      • download statement file
      • query settlement
      • query unsettled amount
  1. 03.DocumentFile

create document file

POST
/document-file
create a document file

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "refObjectType": "Wallet",
    "refObjectId": "WA1200000001",
    "documentType": "ID",
    "documentSide": "FRONT",
    "fileName": "id20231010.jpg",
    "description": "id image"
    
}

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 '/document-file' \
--header 'Content-Type: application/json' \
--data-raw '{
    "refObjectType": "Wallet",
    "refObjectId": "WA1200000001",
    "documentType": "ID",
    "documentSide": "FRONT",
    "fileName": "id20231010.jpg",
    "description": "id image"
    
}'

Responses

🟢200OK
application/json
Body

Example
{
    "id": "DF10000001",
    "refObjectType": "Wallet",
    "refObjectId": "WA11122001",
    "documentType": "PASSPORT",
    "description": "passport of the wallet",
    "status": "Init",
    "createdTime": "2022-03-03T07:32:39+08:00",
    "uploadInfo": {
        "host": "https://easyeuro-test.oss-cn-shenzhen.aliyuncs.com",
        "key": "upload/pt1001.jpeg",
        "policy": "eyJleHBpcmF0aW9uIjoiMjAyMy0xMC0xNVQxNjoxNTozMS4wODRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJwYXJ0bmVyLXVwbG9hZC8iXV19",
        "accessKeyId": "LTaIjgXfIbbAIbz9",
        "signature": "YDS9jMHg9v7XiTIO/Qw5JeO6VUM=",
        "callback": "eyJjYWxsYmFja0JvZHiYWNrVXJsIjoiaHR0cHM6Ly9zei1zdmMud2Vjcm9zc28uY29tOjkwOTAvY29tbW9uL29zcy9wdXQtb2JqZWN0L2NhbGxiYWNrIiwiY2FsbGJhY2tCb2R5Ijoie1wiZmlsZW5hbWVcIjogJHtvYmplY3R9LCBcIm1pbWVUeXBlXCI6ICR7bWltZVR5cGV9LCBcInNpemVcIjogJHtzaXplfSwgXCJoZWlnaHRcIjogJHtpbWFnZUluZm8uaGVpZ2h0fSwgXCJ3aWR0aFwiOiAke2ltYWdlSW5mby53aWR0aH19In0="
    }
}
Modified at 2025-07-17 07:00:49
Previous
Mock Webhook Callback Event
Next
upload document file
Built with