Ir al contenido
UnoPagoDocumentación
Referencia de la APIAccountAccount settings

Modify Account information

PUT
/v1/settings

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

application/json
  1. body
name*string
Longitud1 <= length
nationalId?string
phoneNumber?string
address?string
description?string
type?string
Valor en"SCHOOL""COMMERCE"
mainCurrency?string
Valor en"VES""USD""EUR"
defaultPricingMode?string
Valor en"CURRENCY""REFERENCE"

Cuerpo de la respuesta

Successful response

application/json
  1. response
type*string
Valor en"SCHOOL""COMMERCE"
status*string
Valor en"ACTIVE""MAINTENANCE""SUSPENDED""DEACTIVATED"
mainCurrency*string
Valor en"VES""USD""EUR"
defaultPricingMode*string
Valor en"CURRENCY""REFERENCE"
id*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
name*string
description*string
isTest*boolean
nationalId*string|null
phoneNumber*string|null
address*string|null
image*string|null
accountNotificationSettingId*string|null
merchantId*string|null
platformAccountId*string|null
externalId*string|null
createdAt*string
updatedAt*string
Ejemplo de solicitud
curl -X PUT 'https://api.unopago.com/v1/settings' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Ejemplo de respuesta
{  "type": "SCHOOL",  "status": "ACTIVE",  "mainCurrency": "VES",  "defaultPricingMode": "CURRENCY",  "id": "string",  "name": "string",  "description": "string",  "isTest": true,  "nationalId": "string",  "phoneNumber": "string",  "address": "string",  "image": "string",  "accountNotificationSettingId": "string",  "merchantId": "string",  "platformAccountId": "string",  "externalId": "string",  "createdAt": "string",  "updatedAt": "string"}