Skip to main content
POST
/
v3
/
payment
Create new payment
curl --request POST \
  --url https://api.sandbox.finsei.com/v3/payment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "walletId": "<string>",
  "amount": 123,
  "id": "<string>",
  "status": "NEW",
  "beneficiaryId": "<string>",
  "targetWalletId": "<string>",
  "reference": "<string>",
  "purposeCode": "<string>",
  "files": [
    {
      "type": "<string>",
      "name": "<string>"
    }
  ]
}
'
{
  "status": "VALIDATE",
  "errors": {
    "email": "Email cannot be blank."
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

validate
enum<integer>
default:0
Available options:
0,
1
signToken
string

Body

application/json
walletId
string
required
amount
number
required
id
string

Unique id

status
enum<string>
Available options:
NEW,
DRAFT
beneficiaryId
string | null

⚠ NOT REQUIRED if target_wallet_id is set

targetWalletId
string | null

⚠ NOT USE if beneficiary_id is set

reference
string

⚠ NOT REQUIRED if target_wallet_id is set

purposeCode
string

⚠ REQUIRED when beneficiary country is UAE

files
object[]

⚠ NOT REQUIRED if target_wallet_id is set

Response

Validate data

status
string
Example:

"VALIDATE"

errors
object
Example:
{ "email": "Email cannot be blank." }