Skip to content
Logo MoneyGo

Wallet exists

This endpoint checks if a wallet exists by comparing the provided wallet numbers. It is used to verify the existence of a wallet belonging to you and another user.

  • Method: GET
  • URL: https://api.money-go.com/api/wallet-exists?number_to=number_to&number_from=number_from
  • Headers:
  • Authorization: Bearer YOUR_ACCESS_TOKEN
  • Query Parameters:
  • number_to Your wallet number.
  • number_from The other user’s wallet number.


Terminal window
curl -X GET "https://api.money-go.com/api/wallet-exists?number_to=U1&number_from=U4" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"status": true,
"data": {
"wallet_to_id": 1,
"number_to": "U1",
"wallet_from_id": 4,
"number_from": "U4",
"currency": {
"id": 1,
"code": "USD",
"name": "United States dollar",
"rate": 0.013548,
"prefix": "U"
}
}
}
FieldTypeDescription
statusbooleanIndicates whether the request was successful.
dataobjectContains details about the wallet existence check.
FieldTypeDescription
wallet_to_idnumberUnique identifier for your wallet.
number_tostringYour wallet number.
wallet_from_idnumberUnique identifier for the other user’s wallet.
number_fromstringThe other user’s wallet number.
FieldTypeDescription
idnumberUnique identifier of the currency.
codestringCurrency code (e.g., “USD”).
namestringName of the currency.
ratenumberExchange rate for the currency.
prefixstringCurrency prefix (e.g., “U”).