Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A sua jornada White Label também possui um monitoramento por status, o que lhe garante maior assertividade na hora de analisar os comportamentos de cada cliente, na experiência do produto. Para ter maior visibilidade sobre o Journey Status, basta realizar uma chamada no modelo GET, com o ID da jornada.

Status disponíveis

  • Pending - Jornada iniciada pelo usuário;

  • Consumed - Jornada concluída pelo usuárioO cliente indicou a instituição de pagamento e foi redirecionado para ela, criando o consentimento (a partir deste momento, a empresa passa a analisar o status do consentimento);

  • Expired - Jornada expirada. Indica que o cliente sequer criou um consentimento e a jornada expirou por timeout do token (prazo de uma hora);

  • Cancel - Jornada cancelada pelo usuário.

Request

Code Block
curl --location 'https://api-openkeys.celcoin.dev.fsapps.io/open-keys-itp/api/v1/journey/{{journeyId}}' \
--header 'Authorization: Bearer {{acess_token}}'

Exemplo de retorno da chamada

Code Block
{
   "journeyId": "abc "_id": "6568c1d8bfcc6b13505d3346",
    "clientId": "12d5a891-8989-49a3-a650-97c06a3304c1",
    "cpf": "12345678909",
    "cnpj": null,
    "token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3X1JlZGdJcHpsM0YzQmJHZnl3SG9BTXY1dGtSbXRQVTl3MldIMXZUYVdZIn0.eyJleHAiOjE3MDEzNjU0NzAsImlhdCI6MTcwMTM2MTg3MCwianRpIjoiYmNiYzAyNTgtNzhiOS00NDcwLTkzY2ItODFiZWRmZDAxOGZiIiwiaXNzIjoiaHR0cHM6Ly9rZXljbG9hay5zaGQuZW5nZGV2LmZzYXBwcy5pby9hdXRoL3JlYWxtcy9vcGVuLWtleXMtZGV2IiwiYXVkIjoiYWNjb3VudCIsInN1YiI6IjY4Njg1ZGE3LWIyYjAtNDQ2Zi04YTQ1LTM1NmIwZGIzYWM3OCIsInR5cCI6IkJlYXJlciIsImF6cCI6IjEyZDVhODkxLTg5ODktNDlhMy1hNjUwLTk3YzA2YTMzMDRjMSIsImFjciI6IjEiLCJyZWFsbV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creditor": {
        "cpfCnpj": "****6800***",
        "name": "Adrian Boaventura da Silva",
        "personType": "PESSOA_NATURAL"
    },
    "creditorAccount": {
        "accountType": "CACC",
        "ispb": "60746948",
        "issuer": "3220",
        "number": "85049"
    },
    "date": null,
    "creationDateTime": "2023-11-30T17:09:44.601Z",
  'status": "PENDING  "status": "EXPIRED",
    "statusUpdateDateTime": "2023-11-30T17:09:44.601Z",
    "expirationDateTime": "2023-11-30T18:09:44.601Z",
    "page": "teste",
    "type": "PAYMENT"
}