Skip to main content
POST
/
v1
/
transfers
Create a new transfer
curl --request POST \
  --url https://api.sandbox.hit-pay.com/v1/transfers \
  --header 'Content-Type: application/json' \
  --header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
  --data '
{
  "beneficiary": {
    "country": "sg",
    "currency": "sgd",
    "transfer_method": "<string>",
    "transfer_type": "local",
    "holder_type": "individual",
    "holder_name": "John Doe"
  },
  "beneficiary_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "source_currency": "sgd",
  "source_amount": 112.42,
  "payment_amount": 10000.5,
  "remitter_id": "9b294222-3a53-427f-9393-95dc6d63ee6c",
  "remitter": {
    "entity_type": "individual",
    "full_name": "John Doe",
    "id_number": "FB123456",
    "id_type": "passport",
    "date_of_birth": "1990-01-01",
    "place_of_birth": "Singapore",
    "nationality": "sg",
    "contact_number": "+6598765432",
    "email": "[email protected]",
    "address": {
      "city": "Singapore",
      "state": "SG",
      "street_address": "1 Keong Saik Road",
      "postal_code": "089109",
      "country": "sg"
    },
    "company_name": "HitPay Pte Ltd"
  },
  "remark": "<string>",
  "reference": "<string>"
}
'
{
  "id": "<string>",
  "beneficiary": {
    "id": "<string>",
    "status": "<string>",
    "country": "<string>",
    "currency": "<string>",
    "transfer_method": "<string>",
    "holder_name": "<string>",
    "holder_type": "<string>",
    "account_number": "<string>",
    "bank_name": "<string>",
    "bank_id": "<string>",
    "email": "<string>",
    "bank_routing_number": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>"
  },
  "payment_currency": "<string>",
  "payment_amount": 123,
  "source_currency": "<string>",
  "source_amount": 123,
  "exchange_rate": "<string>",
  "fee": {
    "amount": 123,
    "currency": "<string>",
    "paid_by": "payer"
  },
  "status": "scheduled",
  "created_at": "<string>"
}

Headers

X-BUSINESS-API-KEY
string
required
Example:

"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"

Body

application/json
beneficiary
object

The beneficiary information. Only required if 'beneficiary_id' is not set. The payload depends on the country and payment method. Please refer Create Beneficiary for addtional fields

beneficiary_id
string<uuid>

The Beneficiary id. Only required if 'beneficiary' is not set.

source_currency
string

It is beneficiary bank account currency.

Example:

"sgd"

source_amount
number<double>

The amount to be transferred. Only required if 'payment_amount' is not set.

Required range: x >= 1
Example:

112.42

payment_amount
number<double>

The amount to be transferred. Only required if source_amount is not set.

Required range: x >= 1
Example:

10000.5

remitter_id
string

The remitter id. Only pass either remitter or remitter_id.

Example:

"9b294222-3a53-427f-9393-95dc6d63ee6c"

remitter
object

The remitter information. Only pass either remitter or remitter_id.

remark
string

Transfer note for internal use only

Maximum string length: 120
reference
string

The reference for the transfer

Maximum string length: 120

Response

201

id
string
required
beneficiary
object
required
payment_currency
string
required
payment_amount
number
required
source_currency
string
required
source_amount
number
required
exchange_rate
string
required
fee
object
required
status
enum<string>
required
Available options:
scheduled,
processing,
paid,
failed,
canceled
created_at
string
required