This endpoint allows you to retrieve an Asset Transfer.
Asset Transfer goes through different lifecycle stages.

acceptedThe payer authorized the request for funds.cancelledAsset transfer was cancelled.claimedAsset transfer was successfully completedcreatedAsset transfer successfully createdexpiredAsset transfer expired as new user didn't create his account and claimed the asset. This is very short lived statefailedThe transfer couldn't proceed, eg the wallet balance was too low.requestedA request for funds was created.returnedAsset transfer expired and was returned to original ownersentAsset transfer notification (sms, email) was sent to a new user
errorstringThe name of the HTTP status. AlwaysBad Request.messageenumThe error code, or for a 400 a description of what's wrong with the request.Bad RequestThe request is malformed or missing required fields. The message says what's wrong, egamount is required. See 400 Malformed Request.
statusCodeintegerThe HTTP status code. Always400.
errorstringThe name of the HTTP status. AlwaysUnauthorized.messageenumThe error code, or for a 400 a description of what's wrong with the request.Missing authenticationAPI key or JWT is missing, expired or invalid. See Auth.
statusCodeintegerThe HTTP status code. Always401.
errorstringThe name of the HTTP status. AlwaysForbidden.messageenumThe error code, or for a 400 a description of what's wrong with the request.ForbiddenThe resource doesn't exist, or your user or API key doesn't have permission to access it. See 403 Forbidden.
statusCodeintegerThe HTTP status code. Always403.
errorstringThe name of the HTTP status. AlwaysNot Found.messageenumThe error code, or for a 400 a description of what's wrong with the request.Not FoundThe route doesn't exist. Check the URL and HTTP method against the examples. See 404 Route Not Found.
statusCodeintegerThe HTTP status code. Always404.
errorstringThe name of the HTTP status. AlwaysToo Many Requests.messageenumThe error code, or for a 400 a description of what's wrong with the request.RATE_LIMIT_EXCEEDEDCentrapay API rate limits have been exceeded. See Rate Limits.
statusCodeintegerThe HTTP status code. Always429.
errorstringThe name of the HTTP status. AlwaysInternal Server Error.messageenumThe error code, or for a 400 a description of what's wrong with the request.An internal server error occurredSomething went wrong on our end. Retrying should solve the issue. See 5xx Server Error.
statusCodeintegerThe HTTP status code. Always500.
curl -X GET https://service.centrapay.com/api/asset-transfers/M7Kn2stAxNa6ri7h \-H 'x-api-key: <TOKEN>'{ "assetId": "YGRo6TYYSxH3js7", "assetType": "centrapay.token.main", "claimedByAccountId": "9EDxUT91TMsUjoqoQeBuLQ", "createdAt": "2020-05-01T12:30:00.000Z", "description": "Centrapay Token", "id": "M7Kn2stAxNa6ri7h", "message": "Happy birthday", "recipientAccountId": "9EDxUT91TMsUjoqoQeBuLQ", "recipientAlias": "+64******2345", "senderName": "My Cafe", "status": "claimed", "suppressNotifications": false, "updatedAt": "2020-05-02T01:03:37.222Z", "value": "6000"}{ "error": "Bad Request", "message": "amount is required", "statusCode": 400}{ "error": "Unauthorized", "message": "Missing authentication", "statusCode": 401}{ "error": "Forbidden", "message": "Forbidden", "statusCode": 403}{ "error": "Not Found", "message": "Not Found", "statusCode": 404}{ "error": "Too Many Requests", "message": "RATE_LIMIT_EXCEEDED", "statusCode": 429}{ "error": "Internal Server Error", "message": "An internal server error occurred", "statusCode": 500}