Skip to content

Identification types

For the bank transfer, you will need to list the available identification types to show them to the payer and allow them to select one.

It is recommended to call this endpoint constantly, as the list may vary without prior notice.

GET https://[base_url]/v2/apms/document-types/{user_type_code}/hotel/{hotel_id}

Example:

GET https://[base_url]/v2/apms/document-types/N/hotel/54

Body parameters

PARAMETERS TYPE REQ. DESCRIPTION
user_type_code String Si User type code. Refer to User types
hotel_id Integer Si Hotel ID associated with the reservation. Refer to List hotels

Endpoint response

[
    {
        "name": "Cédula de ciudadanía",
        "code": "CC"
    },
    {
        "name": "Cédula de extranjería",
        "code": "CE"
    },
    {
        "name": "Tarjeta de identidad",
        "code": "TI"
    },
    {
        "name": "Pasaporte",
        "code": "PP"
    },
    {
        "name": "Registro civil de nacimiento",
        "code": "RC"
    },
    {
        "name": "Documento de identificación extranjero",
        "code": "DE"
    }
]