---
title: "Create Escrow"
method: POST
path: "/api/b2b/escrows"
---

# Create Escrow

`POST /api/b2b/escrows`

## Request

- Base URL: `https://api-v2.honeycoin.app`
- URL: `https://api-v2.honeycoin.app/api/b2b/escrows`
- Auth: API key in header `Authorization`

Creates a new escrow account.

## Request body

- object
  - `amount` integer, required: Amount to charge from the sender. Must be ≥ 1.
  - `chargeCurrency` string, required: The currency the buyer will be charged in.
  - `receiverCurrency` string: The currency the seller will be settled in
  - `externalReference` string, required: A unique reference
  - `chargeDetails` object, required: Details for charging (method, phoneNumber, etc.)
    - `method` string, required: Allowed values: momo
    - `firstName` string, required
    - `lastName` string, required
    - `email` string, required
    - `phoneNumber` string: Required when method is momo.
    - `country` string, required: The country in iso2 code.
    - `momoOperatorId` string
  - `payoutDetails` object, required: Details for payout (method, country, etc.)
    - `accountName` string
    - `accountNumber` string
    - `code` string
    - `branchCode` string

## Response `200`

200

- object
  - `success` boolean
  - `data` object
    - `id` string
    - `status` string
    - `externalReference` string
    - `senderAmount` integer
    - `senderCurrency` string
    - `receiverAmount` integer
    - `receiverCurrency` string
    - `chargeDetails` object
      - `method` string
      - `firstName` string
      - `lastName` string
      - `country` string
      - `email` string
      - `phoneNumber` string
      - `momoOperatorId` string
    - `payoutDetails` object
      - `method` string
      - `country` string
      - `payoutMethod` object
        - `accountName` string
        - `accountNumber` string
        - `momoOperatorId` string
    - `fee` object
      - `feeAmount` integer
      - `feeCurrency` string
    - `createdAt` integer

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/honeycoin/apis/honeycoin-v3-api-official.md) - [All operations](https://skmtc.dev/honeycoin/apis/honeycoin-v3-api-official/llms.txt) - [OpenAPI document](https://skmtc.dev/honeycoin/apis/honeycoin-v3-api-official/revisions/fcb58b0ef441?raw)
