Cards

This page presents examples of requests and responses for creating payments and authorizations using the Create Payment endpoint and Card as payment method.

To test the creation of each payment, you can copy the content from the request code and use it on your machine or paste it on the Create Payment endpoint to test using Readme.

Cards available examples

Card Direct for authorization
Card Direct for authorization with airline data
Card Direct with installments
Card Direct with vault on success
Card Direct with vaulted token
Card Direct with 3DS
Card Direct with customer, billing, shipping and order items

Card Direct for authorization

Example of a request for authorization using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments \
     --header 'X-Idempotency-Key: <Your idempotency-key>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
  "country": "CO",
  "amount": {
    "currency": "COP",
    "value": "20000"
  },
  "customer_payer": {
    "first_name": "JOHN",
    "last_name": "DOE",
    "email": "[email protected]"
  },
  "payment_method": {
    "detail": {
      "card": {
        "card_data": {
          "number": "4111111111111111",
          "expiration_month": 11,
          "expiration_year": 28,
          "security_code": "123",
          "holder_name": "JOHN DOE"
        },
        "capture": false
      }
    },
    "type": "CARD"
  },
  "account_id": "c004cfd7-0c65-4add-b9b3-3d7e3949c9f1",
  "description": "SUCCESSFUL",
  "merchant_order_id": "Order_id",
  "workflow": "DIRECT"
}
'
{
  "id": "bffb54d7-6177-4583-9865-529966ee1cc2",
  "account_id": "c004cfd7-0c65-4add-b9b3-3d7e3949c9f1",
  "description": "SUCCESSFUL",
  "country": "CO",
  "status": "PENDING",
  "sub_status": "AUTHORIZED",
  "merchant_order_id": "Order_id",
  "created_at": "2023-04-12T02:01:14.609045Z",
  "updated_at": "2023-04-12T02:01:14.972537Z",
  "amount": {
    "currency": "COP",
    "value": 20000,
    "refunded": 0,
    "captured": 0
  },
  "checkout": {
    "session": "",
    "sdk_action_required": false
  },
  "payment_method": {
    "vaulted_token": "",
    "type": "CARD",
    "vault_on_success": false,
    "token": "",
    "payment_method_detail": {
      "card": {
        "verify": null,
        "capture": false,
        "installments": 1,
        "first_installment_deferral": 0,
        "installments_type": "",
        "installment_amount": null,
        "soft_descriptor": "",
        "authorization_code": "",
        "retrieval_reference_number": "",
        "voucher": null,
        "card_data": {
          "holder_name": "JOHN DOE",
          "iin": "41111111",
          "lfd": "1111",
          "number_length": 16,
          "security_code_length": 3,
          "brand": "VISA",
          "issuer_name": "JPMORGAN CHASE BANK, N.A.",
          "issuer_code": null,
          "category": "",
          "type": "CREDIT"
        }
      }
    }
  },
  "customer_payer": {
    "id": null,
    "merchant_customer_id": null,
    "first_name": "JOHN",
    "last_name": "DOE",
    "gender": null,
    "date_of_birth": null,
    "email": "[email protected]",
    "nationality": null,
    "ip_address": null,
    "device_fingerprint": null,
    "browser_info": null,
    "document": null,
    "phone": null,
    "billing_address": null,
    "shipping_address": null
  },
  "additional_data": {
    "airline": null,
    "order": null,
    "seller_details": null
  },
  "taxes": null,
  "transactions": {
    "id": "e40b36bd-a785-4f10-ab94-95b1abed1c3a",
    "type": "AUTHORIZE",
    "status": "SUCCEEDED",
    "category": "CARD",
    "amount": 20000,
    "provider_id": "YUNO_TEST_PAYMENT_GW",
    "payment_method": {
      "vaulted_token": "",
      "type": "CARD",
      "vault_on_success": false,
      "token": "",
      "detail": {
        "card": {
          "verify": null,
          "capture": false,
          "installments": 1,
          "first_installment_deferral": 0,
          "installments_type": "",
          "installment_amount": null,
          "soft_descriptor": "",
          "authorization_code": "",
          "retrieval_reference_number": "",
          "voucher": null,
          "card_data": {
            "holder_name": "JOHN DOE",
            "iin": "41111111",
            "lfd": "1111",
            "number_length": 16,
            "security_code_length": 3,
            "brand": "VISA",
            "issuer_name": "JPMORGAN CHASE BANK, N.A.",
            "issuer_code": null,
            "category": "",
            "type": "CREDIT"
          }
        }
      }
    },
    "response_code": "SUCCEEDED",
    "response_message": "Transaction successful",
    "reason": null,
    "description": null,
    "merchant_reference": null,
    "provider_data": {
      "id": "YUNO_TEST_PAYMENT_GW",
      "transaction_id": "717c2ee8-603d-4633-9ca9-37ec82d52a76",
      "account_id": "",
      "status": "SUCCEEDED",
      "sub_status": "",
      "status_detail": "",
      "response_message": "",
      "raw_response": {
        "amount": {
          "currency": "BRL",
          "value": 2100
        },
        "merchantAccount": "YunoPaymentsECOM",
        "paymentPspReference": "ZKHXKZGXMLBX8N82",
        "pspReference": "VKJTCWZ9575ZGN82",
        "reference": "34343434",
        "status": "received"
      }
    },
    "created_at": "2023-04-12T02:01:14.758882Z",
    "updated_at": "2023-04-12T02:01:14.934272Z"
  },
  "split": [],
  "workflow": "DIRECT",
  "metadata": null,
  "fraud_screening": null
}

Card Direct for authorization with airline data

Example of a request for authorization with airline data using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments \
     --header 'X-Idempotency-Key: <Your idempotency-key>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
  "additional_data": {
    "airline": {
      "legs": [
        {
          "departure_airport": "BOG",
          "departure_datetime": "2024-07-03T05:00:00",
          "departure_airport_timezone": "GMT-05",
          "arrival_airport": "BOM",
          "carrier_code": "PR",
          "flight_number": "AV348",
          "fare_basis_code": "Y",
          "fare_class_code": "S",
          "base_fare": 18000,
          "base_fare_currency": "COP",
          "stopover_code": "O"
        }
      ],
      "passengers": [
        {
          "document": {
            "document_number": "1092456327",
            "document_type": "CC",
            "country": "CO"
          },
          "first_name": "JOHN",
          "last_name": "DOE",
          "middle_name": "STEPHEN",
          "type": "A",
          "date_of_birth": "1998-01-01",
          "nationality": "CO",
          "loyalty_number": "79250001",
          "loyalty_tier": "DIAMOND"
        }
      ],
      "tickets": [
        {
          "issue": {
            "carrier_prefix_code": "134",
            "travel_agent_code": "A104121",
            "travel_agent_name": "AEROVIAJES",
            "date": "2023-10-31T01:30:00.000-05:00",
            "address": "Calle 123 2564",
            "city": "BOGOTA",
            "country": "CO",
            "zip_code": "111111"
          },
          "ticket_number": "BRB0001",
          "e_ticket": true,
          "restricted": false,
          "total_fare_amount": 20000,
          "total_tax_amount": 18000,
          "total_fee_amount": 1000
        },
        {
          "issue": {
            "carrier_prefix_code": "134",
            "travel_agent_code": "A104121",
            "travel_agent_name": "AEROVIAJES",
            "date": "2023-10-31T01:30:00.000-05:00",
            "address": "Calle 123 2564",
            "city": "BOGOTA",
            "country": "CO",
            "zip_code": "111111"
          },
          "ticket_number": "BRB0002",
          "e_ticket": true,
          "restricted": false,
          "total_fare_amount": 20000,
          "total_tax_amount": 18000,
          "total_fee_amount": 1000
        }
      ],
      "pnr": "ABC123"
    }
  },
  "country": "MX",
  "amount": {
    "currency": "MXN",
    "value": "2000"
  },
  "customer_payer": {
    "browser_info": {
      "accept_browser": true,
      "accept_content": true,
      "javascript_enabled": true
    },
    "document": {
      "document_number": "1092345673",
      "document_type": "CC"
    },
    "billing_address": {
      "country": "CO",
      "address_line_1": "Calle 123",
      "address_line_2": "25-42",
      "city": "BOGOTA",
      "state": "CUNDINAMARCA",
      "zip_code": "110110"
    },
    "shipping_address": {
      "country": "AR"
    },
    "first_name": "JOHN",
    "last_name": "DOE",
    "gender": "M",
    "date_of_birth": "1998-01-01",
    "email": "[email protected]",
    "nationality": "CO",
    "ip_address": "192.0.0.1"
  },
  "payment_method": {
    "detail": {
      "card": {
        "card_data": {
          "number": "4111111111111111",
          "expiration_month": 11,
          "expiration_year": 28,
          "security_code": "123",
          "holder_name": "JOHN DOE"
        },
        "capture": false
      }
    },
    "type": "CARD"
  },
  "account_id": "c004cfd7-0c65-4add-b9b3-3d7e3949c9f1",
  "description": "SUCCESSFUL",
  "merchant_order_id": "Order_id",
  "merchant_reference": "Example_Merchant_Reference",
  "workflow": "DIRECT"
}
'
{
  "id": "2c6f6ba5-7830-43f8-87af-ccad8fb09f35",
  "account_id": "c004cfd7-0c65-4add-b9b3-3d7e3949c9f1",
  "description": "SUCCESSFUL",
  "country": "CO",
  "status": "SUCCEEDED",
  "sub_status": "APPROVED",
  "merchant_order_id": "Order_id",
  "created_at": "2023-04-14T18:18:02.168659Z",
  "updated_at": "2023-04-14T18:18:02.586330Z",
  "amount": {
    "currency": "COP",
    "value": 20000,
    "refunded": 0,
    "captured": 0
  },
  "checkout": {
    "session": "",
    "sdk_action_required": false
  },
  "payment_method": {
    "vaulted_token": "",
    "type": "CARD",
    "vault_on_success": false,
    "token": "",
    "payment_method_detail": {
      "card": {
        "verify": null,
        "capture": false,
        "installments": 1,
        "first_installment_deferral": 0,
        "installments_type": "",
        "installment_amount": null,
        "soft_descriptor": "",
        "authorization_code": "",
        "retrieval_reference_number": "",
        "voucher": null,
        "card_data": {
          "holder_name": "JOHN DOE",
          "iin": "41111111",
          "lfd": "1111",
          "number_length": 16,
          "security_code_length": 3,
          "brand": "VISA",
          "issuer_name": "JPMORGAN CHASE BANK, N.A.",
          "issuer_code": null,
          "category": "",
          "type": "CREDIT"
        }
      }
    }
  },
  "customer_payer": {
    "id": null,
    "merchant_customer_id": null,
    "first_name": "JOHN",
    "last_name": "DOE",
    "gender": null,
    "date_of_birth": null,
    "email": "[email protected]",
    "nationality": null,
    "ip_address": null,
    "device_fingerprint": null,
    "browser_info": null,
    "document": null,
    "phone": null,
    "billing_address": null,
    "shipping_address": null
  },
  "additional_data": {
    "airline": {
      "pnr": "ABC123",
      "legs": [
        {
          "departure_airport": "BOG",
          "departure_datetime": "2023-10-31T01:30:00.000-05:00",
          "departure_airport_timezone": "GMT-05",
          "arrival_airport": "BOM",
          "carrier_code": "PR",
          "flight_number": "AV348",
          "fare_basis_code": "",
          "fare_class_code": "",
          "base_fare": null,
          "base_fare_currency": null,
          "stopover_code": null
        }
      ],
      "passengers": [
        {
          "first_name": "JOHN",
          "last_name": "DOE",
          "middle_name": null,
          "type": "A",
          "date_of_birth": "1998-01-01",
          "nationality": "CO",
          "document": {
            "document_type": "CC",
            "document_number": "123456"
          },
          "country": null,
          "loyalty_number": null,
          "loyalty_tier": null
        }
      ],
      "tickets": [
        {
          "ticket_number": "BRB0001",
          "e_ticket": true,
          "restricted": false,
          "total_fare_amount": 20000,
          "total_tax_amount": 18000,
          "total_fee_amount": 1000,
          "issue": {
            "carrier_prefix_code": "134",
            "travel_agent_code": "A104121",
            "travel_agent_name": "AEROVIAJES",
            "date": "2023-10-31T01:30:00.000-05:00",
            "address": "Calle 123 2564",
            "city": "BOGOTA",
            "country": "CO",
            "zip_code": "111111"
          }
        },
        {
          "ticket_number": "BRB0002",
          "e_ticket": true,
          "restricted": false,
          "total_fare_amount": 20000,
          "total_tax_amount": 18000,
          "total_fee_amount": 1000,
          "issue": {
            "carrier_prefix_code": "134",
            "travel_agent_code": "A104121",
            "travel_agent_name": "AEROVIAJES",
            "date": "2023-10-31T01:30:00.000-05:00",
            "address": "Calle 123 2564",
            "city": "BOGOTA",
            "country": "CO",
            "zip_code": "111111"
          }
        }
      ]
    },
    "order": null,
    "seller_details": null
  },
  "taxes": null,
  "transactions": {
    "id": "a058d0e6-5f1f-480d-b6bb-b957535da1dc",
    "type": "PURCHASE",
    "status": "SUCCEEDED",
    "category": "CARD",
    "amount": 20000,
    "provider_id": "YUNO_TEST_PAYMENT_GW",
    "payment_method": {
      "vaulted_token": "",
      "type": "CARD",
      "vault_on_success": false,
      "token": "",
      "detail": {
        "card": {
          "verify": null,
          "capture": false,
          "installments": 1,
          "first_installment_deferral": 0,
          "installments_type": "",
          "installment_amount": null,
          "soft_descriptor": "",
          "authorization_code": "",
          "retrieval_reference_number": "",
          "voucher": null,
          "card_data": {
            "holder_name": "JOHN DOE",
            "iin": "41111111",
            "lfd": "1111",
            "number_length": 16,
            "security_code_length": 3,
            "brand": "VISA",
            "issuer_name": "JPMORGAN CHASE BANK, N.A.",
            "issuer_code": null,
            "category": "",
            "type": "CREDIT"
          }
        }
      }
    },
    "response_code": "SUCCEEDED",
    "response_message": "Transaction successful",
    "reason": null,
    "description": null,
    "merchant_reference": null,
    "provider_data": {
      "id": "YUNO_TEST_PAYMENT_GW",
      "transaction_id": "d254598e-35da-4ad4-9389-fb527e323789",
      "account_id": "",
      "status": "SUCCEEDED",
      "sub_status": "",
      "status_detail": "",
      "response_message": "",
      "raw_response": {
        "amount": {
          "currency": "BRL",
          "value": 2100
        },
        "merchantAccount": "YunoPaymentsECOM",
        "paymentPspReference": "ZKHXKZGXMLBX8N82",
        "pspReference": "VKJTCWZ9575ZGN82",
        "reference": "34343434",
        "status": "received"
      }
    },
    "created_at": "2023-04-14T18:18:02.393119Z",
    "updated_at": "2023-04-14T18:18:02.554375Z"
  },
  "split": [],
  "workflow": "DIRECT",
  "metadata": null,
  "fraud_screening": null
}

Card Direct with installments

Example of a request for payment with installments using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments \
     --header 'X-Idempotency-Key: <Your idempotency-key>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
  "country": "CO",
  "amount": {
    "currency": "COP",
    "value": "20000"
  },
  "customer_payer": {
    "first_name": "JOHN",
    "last_name": "DOE",
    "email": "[email protected]"
  },
  "payment_method": {
    "detail": {
      "card": {
        "card_data": {
          "number": "4111111111111111",
          "expiration_month": 11,
          "expiration_year": 28,
          "security_code": "123",
          "holder_name": "JOHN DOE"
        },
        "installments": 12
      }
    },
    "type": "CARD"
  },
  "account_id": "c004cfd7-0c65-4add-b9b3-3d7e3949c9f1",
  "description": "SUCCESSFUL",
  "merchant_order_id": "Order_id",
  "workflow": "DIRECT"
}
'
{
  "id": "bd305bca-2e87-45d1-9b69-2fcdde0c368e",
  "account_id": "c004cfd7-0c65-4add-b9b3-3d7e3949c9f1",
  "description": "SUCCESSFUL",
  "country": "CO",
  "status": "SUCCEEDED",
  "sub_status": "APPROVED",
  "merchant_order_id": "Order_id",
  "created_at": "2023-04-12T00:47:24.704068Z",
  "updated_at": "2023-04-12T00:47:24.997201Z",
  "amount": {
    "currency": "COP",
    "value": 20000,
    "refunded": 0,
    "captured": 0
  },
  "checkout": {
    "session": "",
    "sdk_action_required": false
  },
  "payment_method": {
    "vaulted_token": "",
    "type": "CARD",
    "vault_on_success": false,
    "token": "",
    "payment_method_detail": {
      "card": {
        "verify": null,
        "capture": false,
        "installments": 12,
        "first_installment_deferral": 0,
        "installments_type": "",
        "installment_amount": null,
        "soft_descriptor": "",
        "authorization_code": "",
        "retrieval_reference_number": "",
        "voucher": null,
        "card_data": {
          "holder_name": "JOHN DOE",
          "iin": "41111111",
          "lfd": "1111",
          "number_length": 16,
          "security_code_length": 3,
          "brand": "VISA",
          "issuer_name": "JPMORGAN CHASE BANK, N.A.",
          "issuer_code": null,
          "category": "",
          "type": "CREDIT"
        }
      }
    }
  },
  "customer_payer": {
    "id": null,
    "merchant_customer_id": null,
    "first_name": "JOHN",
    "last_name": "DOE",
    "gender": null,
    "date_of_birth": null,
    "email": "[email protected]",
    "nationality": null,
    "ip_address": null,
    "device_fingerprint": null,
    "browser_info": null,
    "document": null,
    "phone": null,
    "billing_address": null,
    "shipping_address": null
  },
  "additional_data": {
    "airline": null,
    "order": null,
    "seller_details": null
  },
  "taxes": null,
  "transactions": {
    "id": "6eba574a-4229-44b4-b5e6-ed30c54fbfc5",
    "type": "PURCHASE",
    "status": "SUCCEEDED",
    "category": "CARD",
    "amount": 20000,
    "provider_id": "YUNO_TEST_PAYMENT_GW",
    "payment_method": {
      "vaulted_token": "",
      "type": "CARD",
      "vault_on_success": false,
      "token": "",
      "detail": {
        "card": {
          "verify": null,
          "capture": false,
          "installments": 12,
          "first_installment_deferral": 0,
          "installments_type": "",
          "installment_amount": null,
          "soft_descriptor": "",
          "authorization_code": "",
          "retrieval_reference_number": "",
          "voucher": null,
          "card_data": {
            "holder_name": "JOHN DOE",
            "iin": "41111111",
            "lfd": "1111",
            "number_length": 16,
            "security_code_length": 3,
            "brand": "VISA",
            "issuer_name": "JPMORGAN CHASE BANK, N.A.",
            "issuer_code": null,
            "category": "",
            "type": "CREDIT"
          }
        }
      }
    },
    "response_code": "SUCCEEDED",
    "response_message": "Transaction successful",
    "reason": null,
    "description": null,
    "merchant_reference": null,
    "provider_data": {
      "id": "YUNO_TEST_PAYMENT_GW",
      "transaction_id": "60674ed4-f0a8-4f72-ba78-6f32ae89e1d5",
      "account_id": "",
      "status": "SUCCEEDED",
      "sub_status": "",
      "status_detail": "",
      "response_message": "",
      "raw_response": {
        "amount": {
          "currency": "BRL",
          "value": 2100
        },
        "merchantAccount": "YunoPaymentsECOM",
        "paymentPspReference": "ZKHXKZGXMLBX8N82",
        "pspReference": "VKJTCWZ9575ZGN82",
        "reference": "34343434",
        "status": "received"
      }
    },
    "created_at": "2023-04-12T00:47:24.824497Z",
    "updated_at": "2023-04-12T00:47:24.961960Z"
  },
  "split": [],
  "workflow": "DIRECT",
  "metadata": null,
  "fraud_screening": null
}

Card Direct with customer, billing, shipping and order items

Example of a declined request for payment using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments \
     --header 'X-Idempotency-Key: <Your idempotency-key>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
    "description": "Test",
    "account_id": "{{account-code}}",
    "merchant_order_id": "0000023",
    "country": "CO",
    "merchant_reference" : "reference-{{$randomUUID}}",
    "amount": {
        "currency": "COP",
        "value": 5000
    },
    "additional_data": {
        "order": {
            "fee_amount": 0,
            "items": [
                {
                    "brand": "XYZ",
                    "category": "Clothes",
                    "id": "123AD",
                    "manufacture_part_number": "XYZ123456",
                    "name": "Skirt",
                    "quantity": 1,
                    "sku_code": "8765432109",
                    "unit_amount": 5000
                }
            ],
            "shipping_amount": 0
        }
    },
    "customer_payer": {
        "merchant_customer_id": "1690160896",
        "first_name": "Braeden",
        "last_name": "Bruen",
        "gender": "F",
        "date_of_birth": "1990-02-28",
        "email": "[email protected]",
        "nationality": "CO",
        "ip_address": null,
        "device_fingerprint": null,
        "document": {
            "document_type": "CC",
            "document_number": "1032765432"
        },
        "phone": {
            "number": "3132450765",
            "country_code": "57"
        },
        "billing_address": {
            "address_line_1": "Calle 34 # 56 - 78",
            "address_line_2": "Apartamento 502, Torre I",
            "country": "CO",
            "state": "Cundinamarca",
            "city": "Bogotá",
            "zip_code": "111111"
        },
        "shipping_address": {
            "address_line_1": "Calle 34 # 56 - 78",
            "address_line_2": "Apartamento 502, Torre I",
            "country": "CO",
            "state": "Cundinamarca",
            "city": "Bogotá",
            "zip_code": "111111"
        }
    },
    "workflow": "DIRECT",
    "payment_method": {
        "type": "CARD",
        "detail": {
            "card": {
                "card_data": {
                    "number": "4051885600446623",
                    "holder_name": "JOHN DOE",
                    "expiration_month": 10,
                    "expiration_year": 26,
                    "security_code": "456"
                }
            }
        }
    }
}
'
{
    "id": "cf205a5e-140e-4c08-9a5b-ee44b91256dc",
    "account_id": "493e9374-510a-4201-9e09-de669d75f256",
    "description": "Test",
    "country": "CO",
    "status": "SUCCEEDED",
    "sub_status": "APPROVED",
    "merchant_order_id": "0000023",
    "created_at": "2023-07-24T01:08:17.039613Z",
    "updated_at": "2023-07-24T01:08:19.300337Z",
    "amount": {
        "captured": 0.00,
        "currency": "COP",
        "refunded": 0.00,
        "value": 5000.00
    },
    "checkout": {
        "session": "",
        "sdk_action_required": false
    },
    "payment_method": {
        "vaulted_token": "",
        "type": "CARD",
        "vault_on_success": false,
        "token": "",
        "payment_method_detail": {
            "card": {
                "verify": null,
                "capture": true,
                "installments": 1,
                "first_installment_deferral": 0,
                "installments_type": "",
                "installment_amount": null,
                "soft_descriptor": "",
                "authorization_code": "123456",
                "retrieval_reference_number": "",
                "voucher": null,
                "card_data": {
                    "holder_name": "JOHN DOE",
                    "iin": "40518856",
                    "lfd": "6623",
                    "number_length": 16,
                    "security_code_length": 3,
                    "brand": "VISA",
                    "issuer_name": "",
                    "issuer_code": null,
                    "category": null,
                    "type": "CREDIT",
                    "three_d_secure": {
                        "version": null,
                        "electronic_commerce_indicator": null,
                        "cryptogram": null,
                        "transaction_id": null,
                        "directory_server_transaction_id": null,
                        "pares_status": null,
                        "acs_id": null
                    }
                }
            }
        }
    },
    "customer_payer": {
        "id": null,
        "merchant_customer_id": "1690160896",
        "first_name": "Braeden",
        "last_name": "Bruen",
        "gender": "F",
        "date_of_birth": "1990-02-28",
        "email": "[email protected]",
        "nationality": "CO",
        "ip_address": null,
        "device_fingerprint": null,
        "browser_info": {
            "user_agent": "",
            "accept_header": "",
            "accept_content": null,
            "accept_browser": null,
            "color_depth": "",
            "screen_height": "",
            "screen_width": "",
            "javascript_enabled": null,
            "java_enabled": null,
            "browser_time_difference": null,
            "language": ""
        },
        "document": {
            "document_type": "CC",
            "document_number": "1032765432"
        },
        "phone": {
            "number": "3132450765",
            "country_code": "57"
        },
        "billing_address": {
            "address_line_1": "Calle 34 # 56 - 78",
            "address_line_2": "Apartamento 502, Torre I",
            "country": "CO",
            "state": "Cundinamarca",
            "city": "Bogotá",
            "zip_code": "111111"
        },
        "shipping_address": {
            "address_line_1": "Calle 34 # 56 - 78",
            "address_line_2": "Apartamento 502, Torre I",
            "country": "CO",
            "state": "Cundinamarca",
            "city": "Bogotá",
            "zip_code": "111111"
        }
    },
    "additional_data": {
        "airline": null,
        "order": {
            "fee_amount": 0,
            "shipping_amount": 0,
            "items": [
                {
                    "id": "123AD",
                    "name": "Skirt",
                    "quantity": 1,
                    "unit_amount": 5000,
                    "category": "Clothes",
                    "brand": "XYZ",
                    "sku_code": "8765432109",
                    "manufacture_part_number": "XYZ123456"
                }
            ]
        },
        "seller_details": null
    },
    "taxes": null,
    "transactions": {
        "id": "bf442c7f-2393-4607-98b5-a4c2a8a97bbc",
        "type": "PURCHASE",
        "status": "SUCCEEDED",
        "category": "CARD",
        "amount": 5000.00,
        "provider_id": "YUNO_TEST_PAYMENT_GW",
        "payment_method": {
            "vaulted_token": "",
            "type": "CARD",
            "vault_on_success": false,
            "token": "",
            "detail": {
                "card": {
                    "verify": null,
                    "capture": true,
                    "installments": 1,
                    "first_installment_deferral": 0,
                    "installments_type": "",
                    "installment_amount": null,
                    "soft_descriptor": "",
                    "authorization_code": "123456",
                    "retrieval_reference_number": "",
                    "voucher": null,
                    "card_data": {
                        "holder_name": "JOHN DOE",
                        "iin": "40518856",
                        "lfd": "6623",
                        "number_length": 16,
                        "security_code_length": 3,
                        "brand": "VISA",
                        "issuer_name": "",
                        "issuer_code": null,
                        "category": null,
                        "type": "CREDIT",
                        "three_d_secure": {
                            "version": null,
                            "electronic_commerce_indicator": null,
                            "cryptogram": null,
                            "transaction_id": null,
                            "directory_server_transaction_id": null,
                            "pares_status": null,
                            "acs_id": null
                        }
                    }
                }
            }
        },
        "response_code": "SUCCEEDED",
        "response_message": "Transaction successful",
        "reason": null,
        "description": "Test",
        "merchant_reference": "reference-9260ef97-81b5-4e35-ac17-0d3d124a0d59",
        "provider_data": {
            "id": "YUNO_TEST_PAYMENT_GW",
            "transaction_id": "ade1dcf5-cbf5-408b-84af-f504abe01a26",
            "account_id": "",
            "status": "SUCCEEDED",
            "sub_status": "",
            "status_detail": "",
            "response_message": "",
            "raw_response": {
                "amount": {
                    "currency": "BRL",
                    "value": 2100
                },
                "merchantAccount": "YunoPaymentsECOM",
                "paymentPspReference": "ZKHXKZGXMLBX8N82",
                "pspReference": "VKJTCWZ9575ZGN82",
                "reference": "34343434",
                "status": "received"
            },
            "third_party_transaction_id": ""
        },
        "created_at": "2023-07-24T01:08:17.147871Z",
        "updated_at": "2023-07-24T01:08:19.222926Z"
    },
    "split": [],
    "workflow": "DIRECT",
    "metadata": [],
    "fraud_screening": null,
    "payment_link_code": ""
}

Card Direct with vault on success

Example of a successful request for payment using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments \
     --header 'X-Idempotency-Key: <Your idempotency-key>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
    "description": "Test",
    "account_id": "{{account-code}}",
    "merchant_order_id": "0000023",
    "country": "CO",
    "merchant_reference" : "reference-{{$randomUUID}}",
    "amount": {
        "currency": "COP",
        "value": 5000
    },
    "customer_payer": {
        "id":"967ecd18-d898-4b88-9400-dd5b01b18edc",
        "merchant_customer_id": "1690161049",
        "first_name": "Giovanna",
        "last_name": "Bartell",
        "email": "[email protected]",
        "device_fingerprint": "hi88287gbd8d7d782ge287gbd8d7d78"
    },
    "workflow": "DIRECT",
    "payment_method": {
        "type": "CARD",
        "vault_on_success":true,
        "detail": {
            "card": {
                "card_data": {
                    "number": "4051885600446623",
                    "holder_name": "JOHN DOE",
                    "expiration_month": 10,
                    "expiration_year": 26,
                    "security_code": "456"
                }
            }
        }
    }
}
'
{
    "id": "96b56df3-0013-4401-b58e-646f5e716ab8",
    "account_id": "493e9374-510a-4201-9e09-de669d75f256",
    "description": "Test",
    "country": "CO",
    "status": "SUCCEEDED",
    "sub_status": "APPROVED",
    "merchant_order_id": "0000023",
    "created_at": "2023-07-24T01:27:23.360857Z",
    "updated_at": "2023-07-24T01:27:25.682059Z",
    "amount": {
        "captured": 0.00,
        "currency": "COP",
        "refunded": 0.00,
        "value": 5000.00
    },
    "checkout": {
        "session": "",
        "sdk_action_required": false
    },
    "payment_method": {
        "vaulted_token": "eb8caa17-6407-457b-960e-125d8d7a90c1",
        "type": "CARD",
        "vault_on_success": true,
        "token": "",
        "payment_method_detail": {
            "card": {
                "verify": null,
                "capture": true,
                "installments": 1,
                "first_installment_deferral": 0,
                "installments_type": "",
                "installment_amount": null,
                "soft_descriptor": "",
                "authorization_code": "123456",
                "retrieval_reference_number": "",
                "voucher": null,
                "card_data": {
                    "holder_name": "JOHN DOE",
                    "iin": "40518856",
                    "lfd": "6623",
                    "number_length": 16,
                    "security_code_length": 3,
                    "brand": "VISA",
                    "issuer_name": "",
                    "issuer_code": null,
                    "category": null,
                    "type": "CREDIT",
                    "three_d_secure": {
                        "version": null,
                        "electronic_commerce_indicator": null,
                        "cryptogram": null,
                        "transaction_id": null,
                        "directory_server_transaction_id": null,
                        "pares_status": null,
                        "acs_id": null
                    }
                }
            }
        }
    },
    "customer_payer": {
        "id": "967ecd18-d898-4b88-9400-dd5b01b18edc",
        "merchant_customer_id": "1690161049",
        "first_name": "Giovanna",
        "last_name": "Bartell",
        "gender": null,
        "date_of_birth": null,
        "email": "[email protected]",
        "nationality": null,
        "ip_address": null,
        "device_fingerprint": "hi88287gbd8d7d782ge287gbd8d7d78",
        "browser_info": {
            "user_agent": "",
            "accept_header": "",
            "accept_content": null,
            "accept_browser": null,
            "color_depth": "",
            "screen_height": "",
            "screen_width": "",
            "javascript_enabled": null,
            "java_enabled": null,
            "browser_time_difference": null,
            "language": ""
        },
        "document": null,
        "phone": null,
        "billing_address": null,
        "shipping_address": null
    },
    "additional_data": null,
    "taxes": null,
    "transactions": {
        "id": "85c19c82-dc31-4a50-aa7d-570d89dbc475",
        "type": "PURCHASE",
        "status": "SUCCEEDED",
        "category": "CARD",
        "amount": 5000.00,
        "provider_id": "YUNO_TEST_PAYMENT_GW",
        "payment_method": {
            "vaulted_token": "eb8caa17-6407-457b-960e-125d8d7a90c1",
            "type": "CARD",
            "vault_on_success": true,
            "token": "",
            "detail": {
                "card": {
                    "verify": null,
                    "capture": true,
                    "installments": 1,
                    "first_installment_deferral": 0,
                    "installments_type": "",
                    "installment_amount": null,
                    "soft_descriptor": "",
                    "authorization_code": "123456",
                    "retrieval_reference_number": "",
                    "voucher": null,
                    "card_data": {
                        "holder_name": "JOHN DOE",
                        "iin": "40518856",
                        "lfd": "6623",
                        "number_length": 16,
                        "security_code_length": 3,
                        "brand": "VISA",
                        "issuer_name": "",
                        "issuer_code": null,
                        "category": null,
                        "type": "CREDIT",
                        "three_d_secure": {
                            "version": null,
                            "electronic_commerce_indicator": null,
                            "cryptogram": null,
                            "transaction_id": null,
                            "directory_server_transaction_id": null,
                            "pares_status": null,
                            "acs_id": null
                        }
                    }
                }
            }
        },
        "response_code": "SUCCEEDED",
        "response_message": "Transaction successful",
        "reason": null,
        "description": "Test",
        "merchant_reference": "reference-7cf75e3a-c8eb-4c62-bd02-74928f68f174",
        "provider_data": {
            "id": "YUNO_TEST_PAYMENT_GW",
            "transaction_id": "604075b9-52e9-48f5-8fcf-3c2d9bacbe66",
            "account_id": "",
            "status": "SUCCEEDED",
            "sub_status": "",
            "status_detail": "",
            "response_message": "",
            "raw_response": {
                "amount": {
                    "currency": "BRL",
                    "value": 2100
                },
                "merchantAccount": "YunoPaymentsECOM",
                "paymentPspReference": "ZKHXKZGXMLBX8N82",
                "pspReference": "VKJTCWZ9575ZGN82",
                "reference": "34343434",
                "status": "received"
            },
            "third_party_transaction_id": ""
        },
        "created_at": "2023-07-24T01:27:23.473451Z",
        "updated_at": "2023-07-24T01:27:25.550651Z"
    },
    "split": [],
    "workflow": "DIRECT",
    "metadata": [],
    "fraud_screening": null,
    "payment_link_code": ""
}

Card Direct with vaulted token

Example of a request for payment using Card Direct with a vaulted token. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments \
     --header 'X-Idempotency-Key: <Your idempotency-key>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
    "description": "Test",
    "account_id": "{{account-code}}",
    "merchant_order_id": "0000023",
    "country": "CO",
    "merchant_reference" : "reference-{{$randomUUID}}",
    "amount": {
        "currency": "COP",
        "value": 5000
    },
    "customer_payer": {
        "id":"967ecd18-d898-4b88-9400-dd5b01b18edc",
        "merchant_customer_id": "1690161049",
        "first_name": "Giovanna",
        "last_name": "Bartell",
        "email": "[email protected]",
        "device_fingerprint": "hi88287gbd8d7d782ge287gbd8d7d78"
    },
    "workflow": "DIRECT",
    "payment_method": {
        "type":"CARD",
        "vaulted_token": "eb8caa17-6407-457b-960e-125d8d7a90c1"
    }
}
'
{
    "id": "821ddfe4-309a-46a8-bd4b-819564aa9c5a",
    "account_id": "493e9374-510a-4201-9e09-de669d75f256",
    "description": "Test",
    "country": "CO",
    "status": "SUCCEEDED",
    "sub_status": "APPROVED",
    "merchant_order_id": "0000023",
    "created_at": "2023-07-24T01:28:45.444722Z",
    "updated_at": "2023-07-24T01:28:47.712002Z",
    "amount": {
        "captured": 0.00,
        "currency": "COP",
        "refunded": 0.00,
        "value": 5000.00
    },
    "checkout": {
        "session": "",
        "sdk_action_required": false
    },
    "payment_method": {
        "vaulted_token": "eb8caa17-6407-457b-960e-125d8d7a90c1",
        "type": "CARD",
        "vault_on_success": false,
        "token": "",
        "payment_method_detail": {
            "card": {
                "verify": null,
                "capture": true,
                "installments": 1,
                "first_installment_deferral": 0,
                "installments_type": "",
                "installment_amount": null,
                "soft_descriptor": "",
                "authorization_code": "123456",
                "retrieval_reference_number": "",
                "voucher": null,
                "card_data": {
                    "holder_name": "JOHN DOE",
                    "iin": "40518856",
                    "lfd": "6623",
                    "number_length": 16,
                    "security_code_length": 3,
                    "brand": "VISA",
                    "issuer_name": "",
                    "issuer_code": null,
                    "category": null,
                    "type": "CREDIT",
                    "three_d_secure": {
                        "version": null,
                        "electronic_commerce_indicator": null,
                        "cryptogram": null,
                        "transaction_id": null,
                        "directory_server_transaction_id": null,
                        "pares_status": null,
                        "acs_id": null
                    }
                }
            }
        }
    },
    "customer_payer": {
        "id": "967ecd18-d898-4b88-9400-dd5b01b18edc",
        "merchant_customer_id": "1690161049",
        "first_name": "Giovanna",
        "last_name": "Bartell",
        "gender": null,
        "date_of_birth": null,
        "email": "[email protected]",
        "nationality": null,
        "ip_address": null,
        "device_fingerprint": "hi88287gbd8d7d782ge287gbd8d7d78",
        "browser_info": {
            "user_agent": "",
            "accept_header": "",
            "accept_content": null,
            "accept_browser": null,
            "color_depth": "",
            "screen_height": "",
            "screen_width": "",
            "javascript_enabled": null,
            "java_enabled": null,
            "browser_time_difference": null,
            "language": ""
        },
        "document": null,
        "phone": null,
        "billing_address": null,
        "shipping_address": null
    },
    "additional_data": null,
    "taxes": null,
    "transactions": {
        "id": "a47e879e-3cd1-49f3-ab72-fc33b0185057",
        "type": "PURCHASE",
        "status": "SUCCEEDED",
        "category": "CARD",
        "amount": 5000.00,
        "provider_id": "YUNO_TEST_PAYMENT_GW",
        "payment_method": {
            "vaulted_token": "eb8caa17-6407-457b-960e-125d8d7a90c1",
            "type": "CARD",
            "vault_on_success": false,
            "token": "",
            "detail": {
                "card": {
                    "verify": null,
                    "capture": true,
                    "installments": 1,
                    "first_installment_deferral": 0,
                    "installments_type": "",
                    "installment_amount": null,
                    "soft_descriptor": "",
                    "authorization_code": "123456",
                    "retrieval_reference_number": "",
                    "voucher": null,
                    "card_data": {
                        "holder_name": "JOHN DOE",
                        "iin": "40518856",
                        "lfd": "6623",
                        "number_length": 16,
                        "security_code_length": 3,
                        "brand": "VISA",
                        "issuer_name": "",
                        "issuer_code": null,
                        "category": null,
                        "type": "CREDIT",
                        "three_d_secure": {
                            "version": null,
                            "electronic_commerce_indicator": null,
                            "cryptogram": null,
                            "transaction_id": null,
                            "directory_server_transaction_id": null,
                            "pares_status": null,
                            "acs_id": null
                        }
                    }
                }
            }
        },
        "response_code": "SUCCEEDED",
        "response_message": "Transaction successful",
        "reason": null,
        "description": "Test",
        "merchant_reference": "reference-22103236-c3fc-4871-9fc0-98ce48a9f553",
        "provider_data": {
            "id": "YUNO_TEST_PAYMENT_GW",
            "transaction_id": "f9bcb8a8-d5d8-4c53-b551-5932c9804f16",
            "account_id": "",
            "status": "SUCCEEDED",
            "sub_status": "",
            "status_detail": "",
            "response_message": "",
            "raw_response": {
                "amount": {
                    "currency": "BRL",
                    "value": 2100
                },
                "merchantAccount": "YunoPaymentsECOM",
                "paymentPspReference": "ZKHXKZGXMLBX8N82",
                "pspReference": "VKJTCWZ9575ZGN82",
                "reference": "34343434",
                "status": "received"
            },
            "third_party_transaction_id": ""
        },
        "created_at": "2023-07-24T01:28:45.562437Z",
        "updated_at": "2023-07-24T01:28:47.639121Z"
    },
    "split": [],
    "workflow": "DIRECT",
    "metadata": [],
    "fraud_screening": null,
    "payment_link_code": ""
}

Card Direct with 3DS

Example of a request for payment using Card Direct with the 3DS implementation that requires the Yuno Setup. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments \
     --header 'X-Idempotency-Key: <Your idempotency-key>' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
  "country": "US",
  "amount": {
    "currency": "USD",
    "value": "2000"
  },
  "customer_payer": {
    "id":"customer-123",
    "first_name": "JOHN",
    "last_name": "DOE",
    "email": "[email protected]"
  },
  "payment_method": {
    "detail": {
      "card": {
        "card_data": {
          "number": "4111111111111111",
          "expiration_month": 11,
          "expiration_year": 28,
          "security_code": "123",
          "holder_name": "JOHN DOE"
        },
        "three_d_secure":{
          "three_d_secure_setup_id":"24127d61-b852-42fb-acd4-1ee661645376"
        }
      }
    },
    "type": "CARD"
  },
  "account_id": "<Your account_id>",
  "description": "SUCCESSFUL",
  "merchant_order_id": "Order_id",
  "callback_url":"www.google.com",
  "workflow": "DIRECT"
}
'
{
   "id":"cb3ca163-cb79-41d7-b9a3-0115e30a7c01",
   "idempotency_key":"fc0d89a1-8d18-4759-8d0a-ee1c6d0386e2",
   "account_code":"26a6626c-d3ec-4caa-bf7c-a994b145dc00",
   "account_id":"26a6626c-d3ec-4caa-bf7c-a994b145dc00",
   "description":"TEST_3DS",
   "country":"CO",
   "status":"SUCCEEDED",
   "sub_status":"APPROVED",
   "merchant_order_id":"0000023",
   "created_at":"2023-07-17T17:00:39.678379Z",
   "updated_at":"2023-07-17T17:41:48.453381Z",
   "amount":{
      "currency":"COP",
      "value":5000.00,
      "refunded":0.00,
      "captured":0.00
   },
   "checkout":{
      "session":"b0751c96-0b00-4b8c-8372-c16f72f60598",
      "sdk_action_required":false
   },
   "customer_payer":{
      "id":"fc7ef8ae-000d-4903-ab76-494ebc8d5fa3",
      "merchant_customer_id":"1689374657",
      "first_name":"Rashad",
      "last_name":"Rath",
      "gender":null,
      "date_of_birth":null,
      "email":"[email protected]",
      "nationality":null,
      "ip_address":null,
      "device_fingerprint":null,
      "browser_info":null,
      "document":{
         "document_type":"CC",
         "document_number":"38799999"
      },
      "phone":null,
      "billing_address":{
         "address_line_1":"",
         "address_line_2":""
      },
      "shipping_address":{
         "address_line_1":"",
         "address_line_2":""
      }
   },
   "additional_data":{
      "airline":null,
      "order":null,
      "seller_details":null
   },
   "taxes":null,
   "transactions":{
      "id":"caada737-27ab-46ca-91a9-744da64c4787",
      "type":"THREE_D_SECURE",
      "status":"SUCCEEDED",
      "category":"CARD",
      "amount":5000.00,
      "provider_id":"CYBERSOURCE_3DS",
      "payment_method":{
         "vaulted_token":"",
         "type":"CARD",
         "vault_on_success":false,
         "token":"",
         "detail":{
            "card":{
               "verify":null,
               "capture":true,
               "installments":1,
               "first_installment_deferral":0,
               "installments_type":"",
               "installment_amount":null,
               "soft_descriptor":"",
               "authorization_code":"",
               "retrieval_reference_number":"",
               "voucher":null,
               "redirect_url":"https://checkout.staging.y.uno/payment?session=14c263bd-e01d-400f-885a-70205df8b417",
               "card_data":{
                  "holder_name":"John Doe",
                  "iin":"44565300",
                  "lfd":"0007",
                  "number_length":16,
                  "security_code_length":3,
                  "brand":"VISA",
                  "issuer_name":"",
                  "issuer_code":null,
                  "category":null,
                  "type":"CREDIT",
                  "three_d_secure":{
                     "three_d_secure_setup_id":"24127d61-b852-42fb-acd4-1ee661645376",
                     "version":null,
                     "electronic_commerce_indicator":null,
                     "cryptogram":null,
                     "transaction_id":null,
                     "directory_server_transaction_id":null,
                     "pares_status":"Y"
                  }
               }
            }
         }
      },
      "response_code":"SUCCEEDED",
      "response_message":"Transaction successful",
      "reason":null,
      "description":"TEST_3DS",
      "merchant_reference":"reference-5f6dd991-ab14-4da3-b7d8-9f24a04ebd92",
      "provider_data":{
         "id":"CYBERSOURCE_3DS",
         "transaction_id":"6896132402506977804951",
         "account_id":"",
         "status":"AUTHENTICATION_SUCCESSFUL",
         "sub_status":"",
         "status_detail":"",
         "response_message":"CONSUMER_AUTHENTICATION_REQUIRED",
         "raw_response":{
            "clientReferenceInformation":{
               "code":"24127d61-b852-42fb-acd4-1ee661645376"
            },
            "consumerAuthenticationInformation":{
               "accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxZmM5ZDVhMS04M2ZhLTQwYWEtYjI5Ny1iZDM1ZGIxODQ4ZjAiLCJpYXQiOjE2ODk2MTMyNDAsImlzcyI6IjVkZDgzYmYwMGU0MjNkMTQ5OGRjYmFjYSIsImV4cCI6MTY4OTYxNjg0MCwiT3JnVW5pdElkIjoiNjQwYTM1NjlkODdhMjUwYTQyNTEwOWRjIiwiUGF5bG9hZCI6eyJBQ1NVcmwiOiJodHRwczovL21lcmNoYW50YWNzc3RhZy5jYXJkaW5hbGNvbW1lcmNlLmNvbS9NZXJjaGFudEFDU1dlYi9wYXJlcS5qc3A_dmFhPWImZ29sZD1BQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUF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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
               "authenticationPath":"ENROLLED",
               "authenticationTransactionId":"SzoIoMqsGtJJmkfmyJA0",
               "pareq":"eNpVUV1vgkAQfL9fQUwfG+6AKtGsl9Bq6kc0ttBonxqEbSWVD4/DqL++dwi1vaedyc7tziwEO4E48jGqBHJYYFmGX2gk8bDjX/JpvjiUz3I2S78/0/PMYx0OK+8VDxyOKMokz7hlMtMG2kKivhDRLswkhzA6PE6X/KHXt60e0AYSSFFMRzwY+8GHM/KBXjGBLEyRv1dZbijaCLCUQGuOQJRXmRRnbrkMaAsIVGLPd1IW5YDSs6mUQDVFgN62WFW6KpW5UxLzN6c4+uv+MtosJ/G4mG/XMt1u9vOXwBsC1R0E4lAit5ntMNdyDcsdMDZw+kBrnkCY6vn8rmsyxu6ZWqhhCBR6lndFXaYf0L+cMlIJgVnUOmkRATwVeYaqR4X5Wysjt/WfJjrSSKqsXOY4zLJ1pjWu5YmKxO4xq9YndT5Ua2hzMdocV1X/jv4DAQ2mWg==",
               "proofXml":"<AuthProof><Time>2023 Jul 17 17:00:39</Time><DSUrl>https://merchantacsstag.cardinalcommerce.com/MerchantACSWeb/vereq.jsp?acqid=CYBS</DSUrl><VEReqProof><Message id=\"SzoIoMqsGtJJmkfmyJA0\"><VEReq><version>1.0.2</version><pan>XXXXXXXXXXXX0007</pan><Merchant><acqBIN>469216</acqBIN><merID>TEST_3DS</merID></Merchant><Browser><deviceCategory>0</deviceCategory><accept>*/*</accept><userAgent>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36</userAgent></Browser></VEReq></Message></VEReqProof><VEResProof><Message id=\"SzoIoMqsGtJJmkfmyJA0\"><VERes><version>1.0.2</version><CH><enrolled>Y</enrolled><acctID>7033012</acctID></CH><url>https://merchantacsstag.cardinalc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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</url><protocol>ThreeDSecure</protocol></VERes></Message></VEResProof></AuthProof>",
               "proxyPan":"7033012",
               "specificationVersion":"1.0.2",
               "stepUpUrl":"https://centinelapistag.cardinalcommerce.com/V2/Cruise/StepUp",
               "strongAuthentication":{
                  "OutageExemptionIndicator":"0"
               },
               "token":"AxjzbwSTddcP6s4BiIKXABEBURzGv4QYVRP0JAY/LtaSZejFq0T8BEAAwwdp",
               "veresEnrolled":"Y",
               "xid":"U3pvSW9NcXNHdEpKbWtmbXlKQTA="
            },
            "errorInformation":{
               "message":"The cardholder is enrolled in Payer Authentication. Please authenticate the cardholder before continuing with the transaction.",
               "reason":"CONSUMER_AUTHENTICATION_REQUIRED"
            },
            "id":"6896132402506977804951",
            "paymentInformation":{
               "card":{
                  "bin":"445653",
                  "type":"VISA"
               }
            },
            "status":"PENDING_AUTHENTICATION",
            "submitTimeUtc":"2023-07-17T17:00:40Z"
         },
         "third_party_transaction_id":null
      },
      "three_d_secure_action_required":null,
      "created_at":"2023-07-17T17:00:39.765728Z",
      "updated_at":"2023-07-17T17:41:43.593769Z"
   },
   "split":[
      
   ],
   "callback_url":"https://google.com",
   "workflow":"REDIRECT",
   "fraud_screening":null,
   "metadata":[
      
   ],
   "payment_link_code":""
}