API

Funding

The funding of a transfer.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /profiles/{profileId}/transfers/{transferId}/payments create FundTransfer 201 response

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.Funding(nil).Create(map[string]any{"profile_id": 1, "transfer_id": 1}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:Funding():create({ profile_id = 1, transfer_id = 1 })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->Funding()->create(["profile_id" => 1, "transfer_id" => 1]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.Funding().create({ "profile_id": 1, "transfer_id": 1 })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.Funding.create({ "profile_id" => 1, "transfer_id" => 1 })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.Funding().create({ profile_id: 1, transfer_id: 1 })

Fields

Field Type Required Description
balanceTransactionId integer No Balance Transaction Id
status string No Status
type string No Type

create

POST /profiles/{profileId}/transfers/{transferId}/payments

Operation ID: transferFund.

Authentication: bearer token (UserToken) or bearer token (PersonalToken).

Parameters

Parameter In Type Required Description
profileId path integer (int64) Yes Profile Id
transferId path integer (int64) Yes Transfer Id
X-External-Correlation-Id header string (uuid) No Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Request body

application/json

The request body is object and object or object and object or object and object.

Responses

201: FundTransfer 201 response

application/json

The response is object and object or object and object or object and object.

400: InvalidRequestError 400 response

text/plain

The response is string.

403: UnauthorisedAccessError 403 response

text/plain

The response is string.

404: EntityNotFoundError 404 response

text/plain

The response is string.

409: PaymentAlreadyExistsError 409 response

text/plain

The response is string.

422: UnsupportedOperationError 422 response

text/plain

The response is string.

429: Rate limit exceeded. Retry after the number of seconds specified in the Retry-After header

application/json

The response is object.

500: UnexpectedError 500 response

text/plain

The response is string.