INITIATE TRANSFER

post
Initiate Transfer

https://api.rally.io/v1/transactions/transfer/initiate
This endpoint allows developers to initiate user-to-user transfer.
Request
Response
Request
Headers
Authorization
required
string
Bearer <access_token>. The access token that was obtained through the REGISTER or REFRESH endpoints.
Body Parameters
fromRnbUserId
required
string
ID of the sender user
referenceData
optional
string
Custom reference metadata (up to 200 chars)
toRnbUserId
optional
string
ID of the recipient user. If empty, the transfer goes to the Coin Creator (DONATION).
coinKind
required
string
Coin symbol
amount
required
number
Amount of coins or USD
inputType
required
string
Valid values: COINS, USD
notes
optional
string
User notes for the transfer
showNote
optional
boolean
True if the user wants the notes to be public, false otherwise.
showUserName
optional
boolean
True if the user wants his name to be shown, false otherwise.
Response
200: OK
Transfer successfully initiated and a transaction id returned.
{
"id": "dcb893ff-d859-4d84-b15f-409a76bd126e"
}
401: Unauthorized
The application is not registered with Rally or the token has expired.
422: Unprocessable Entity
Returned if basic input validations fail.
{
"errors": [
"Wrong inputType: xyz",
"Missing coinKind",
"Invalid toRnbUserId",
"Invalid amount"
]
}

post

https://api.rally.io/v1/transactions/transfer/initiate
Request
Response
Request
Body Parameters
fromRnbUserId
required
string
ID of the sender user
Response
200: OK