Skip to content

User types

For the bank transfer, you will need to list the available user 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/user-types/{hotel_id}

Body parameters

PARAMETERS TYPE REQ. DESCRIPTION
hotel_id Integer Yes Hotel ID associated with the reservation. Refer to List hotels

Endpoint response

[
    {
        "name": "Persona natural",
        "code": "N"
    },
    {
        "name": "Persona jurídica",
        "code": "J"
    }
]