v1

latestOpenAPI 3.0.12026-08-0674476716.0 KB
Requests - for Payments v1 or AIS

Get a token request result

The GET /token-requests/{tokenRequestId}/result endpoint checks whether a token request result is available. This endpoint will return a PENDING status while the result is not available. The status will become PROCESSED once the result is available. If the request is rejected by the bank, the status will become REJECTED. The status will become EXPIRED if the request is not processed or rejected before the token request expiration.

get/token-requests/{tokenRequestId}/result

Path parameters

tokenRequestIdstring required
Example:rq:ej5ACWNwi1EcqBeuDPc4Z8C4Bgc:5zKtXEAq

The token request id received in response to the original token request.

Response

Successful response

OR
OR

Example response

{
  "transferId": "t:2UhwCZ3BMaEcAUK8bZdukor7NL4tH6TBuu6aJMp5KKfX:5zKcENpV",
  "tokenId": "tt:8zK1dic95omjWb72gvc3z3ELKbTNfnGd89MbDnM73er4:ZhBVAJSH8DeU1",
  "signature": {
    "keyId": "CqSTHPvWY_dgVh-f",
    "memberId": "m:nP4w3u5y8ddrxDJkjimgSX9e4fZ:5zKtXEAq",
    "signature": "ODRWmM0xMRM7CKmK3bNl4e2Kb2btavTbZssCsrHsu8yopoKxBzouBrD9q5-E63tgdV1DpB7i31vwNDKywA0CAE"
  },
  "status": "PROCESSED",
  "statusReasonInformation": "The token request is processing.",
  "bankId": "ob-modelo"
}