v1

latestOpenAPI 3.0.02026-07-1491520.4 KB
Transfers

Transfer number

Transfer number from one account to another.

post/{api_key}/transfer-number

Path parameters

api_keystring required

ID of the primary account.

Request body

countrystring
fromstring
numbernumber
tostring

Example request

{
  "country": "GB",
  "from": "7c9738e6",
  "to": "ad6dc56f"
}

Response

Number transfer response

countrystring

The two character country code in ISO 3166-1 alpha-2 format

fromstring

Account the number is transferred from

numberstring

Number transfered

tostring

Account the number is transferred to

Example response

{
  "country": "GB",
  "from": "7c9738e6",
  "number": "235077036",
  "to": "ad6dc56f"
}