v1
latestOpenAPI 3.0.32026-07-243003151.2 MBAccounts
Move Account into a Wallet
This API method allows the calling application to move an Account into a requested Wallet. Please note: currently this endpoint supports an ACTIVE Account move of type COUPON and initially not assigned to any Wallet.
patch/account/{accountId}/move/to/wallet/{walletId}
Path parameters
accountIdstring string required
Account ID
walletIdstring string required
Destination Wallet ID
Request body
Example request
{
"details": {
"fooKey": "BarValue"
},
"location": {
"storeId": "GuildfordHighStreet"
}
}Response
OK
Example response
{
"dateCreated": "2017-01-17T13:20:48+00:00",
"lastUpdated": "2017-01-17T13:20:48+00:00",
"children": [
{
"dateCreated": "2017-01-17T13:20:48+00:00",
"lastUpdated": "2017-01-17T13:20:48+00:00"
}
],
"rewardAccounts": [
{
"dateCreated": "2017-01-17T13:20:48+00:00",
"lastUpdated": "2017-01-17T13:20:48+00:00"
}
]
}