Skip to main content
GET
/
v1
/
document-types
List document types
curl --request GET \
  --url https://api.confiopagos.com/v1/document-types \
  --header 'Authorization: Bearer <token>'
{
  "documentTypes": [
    {
      "name": "document-types/dni",
      "displayName": "DNI"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successfully fetched document types.

documentTypes
object[]
required

List of document types