/
Journey Status
Journey Status
Your White Label journey also has status monitoring, which guarantees greater assertiveness when analyzing each customer's behavior during the product experience. To have greater visibility over Journey Status, simply make a call in the GET model, with the journey ID.
Available statuses
Pending - Journey started by the user;
Consumed - The customer indicated the payment institution and was redirected to it, creating consent (from this moment on, the company starts to analyze the status of consent);
Expired - Expired journey. Indicates that the customer did not even create a consent and the journey expired due to a token timeout (deadline of one hour);
Cancel - Journey canceled by the user.
Request
curl --location 'https://api-openkeys.celcoin.dev.fsapps.io/open-keys-itp/api/v1/journey/{{journeyId}}' \
--header 'Authorization: Bearer {{acess_token}}'
Callback example
{
"_id": "6568c1d8bfcc6b13505d3346",
"clientId": "12d5a891-8989-49a3-a650-97c06a3304c1",
"cpf": "12345678909",
"cnpj": null,
"token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3X1JlZGdJcHpsM0YzQmJHZnl3SG9BTXY1dGtSbXRQVTl3MldIMXZUYVdZIn0.eyJleHAiOjE3MDEzNjU0NzAsImlhdCI6MTcwMTM2MTg3MCwianRpIjoiYmNiYzAyNTgtNzhiOS00NDcwLTkzY2ItODFiZWRmZDAxOGZiIiwiaXNzIjoiaHR0cHM6Ly9rZXljbG9hay5zaGQuZW5nZGV2LmZzYXBwcy5pby9hdXRoL3JlYWxtcy9vcGVuLWtleXMtZGV2IiwiYXVkIjoiYWNjb3VudCIsInN1YiI6IjY4Njg1ZGE3LWIyYjAtNDQ2Zi04YTQ1LTM1NmIwZGIzYWM3OCIsInR5cCI6IkJlYXJlciIsImF6cCI6IjEyZDVhODkxLTg5ODktNDlhMy1hNjUwLTk3YzA2YTMzMDRjMSIsImFjciI6IjEiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsib2ZmbGluZV9hY2Nlc3MiLCJkZWZhdWx0LXJvbGVzLW9wZW4ta2V5cy1kZXYiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IjEyZDVhODkxLTg5ODktNDlhMy1hNjUwLTk3YzA2YTMzMDRjMSI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJwcm9maWxlIGVtYWlsIiwiY2xpZW50SWQiOiIxMmQ1YTg5MS04OTg5LTQ5YTMtYTY1MC05N2MwNmEzMzA0YzEiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImNsaWVudEhvc3QiOiIxNzcuOTIuNzIuMjM0IiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LTEyZDVhODkxLTg5ODktNDlhMy1hNjUwLTk3YzA2YTMzMDRjMSIsImNsaWVudEFkZHJlc3MiOiIxNzcuOTIuNzIuMjM0In0.TZOUNU_fekMR05wtQrpljHcrA9KgbZO8sfsHjkzn9745mBVIC3jOZNw7m5OUpM37y-xtuiiQ6Q9oWOP4z9I7T2e6fqAwDUHTynjBXVyfpwieU61Q-QpZoD0rXcRTGnOhYq5zxFQWFZwW2GggBRhiJcTzwrZsYV2jGM-Dk0Ze_v0AYM9eOvP70sAh2EDTDg8EHtCvft4kaQH-q4sUrKsMZn4kK8_TYkwQxW2LkBjKr2Rr5Y9EMbljQRY-NQpdI4zAOJWBEi_gebPMTvKSQY7x-VXx5Ec2dnrtPG2Rzn4l1ZMwYJd6pPqUJ7wTnP5KEURJcrmzlLDDTUjK-iDqMQxepg",
"name": "Fernando",
"paymentview": "deposit-confirmation-simple",
"amount": "0.01",
"paymenttype": "MANU",
"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": "EXPIRED",
"statusUpdateDateTime": "2023-11-30T17:09:44.601Z",
"expirationDateTime": "2023-11-30T18:09:44.601Z",
"page": "teste",
"type": "PAYMENT"
}