GET
/cards/v1/config/affinity-groups/{id}Obtener Grupo de Afinidad
El endpoint
/config/affinity-groups/{id} te permite obtener información sobre un grupo de afinidad en particular.Parámetros disponibles
Header Parameters
AuthorizationStringrequired
Detalle de respuestas
401
Unauthorized
403
Forbidden
Ejemplo de código
curl -X GET "https://api.pomelo.la/cards/v1/config/affinity-groups/{id}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Ejemplo de respuesta (200)OK
{
"data": {
"id": "string",
"status": "ACTIVE",
"total_exchange_rate": 150.5,
"total_non_usd_exchange_rate": 150.5,
"exchange_currency_name": "ARS",
"activation_code_enabled": true,
"dcvv_enabled": true,
"dcvv_expiration_in_seconds": 60,
"start_date": "2024-01-01",
"provider_algorithm": "EMV_CSKD",
"custom_name_on_card_enabled": false,
"total_dcc_exchange_rate": 20.6,
"dcc_exchange_rate_amount": 2,
"non_usd_exchange_rate_amount": 100,
"min_months_to_expiration": 36,
"max_months_to_expiration": 48,
"country": {
"code": "ARG"
},
"name": "Pomelo Innominate",
"card_type_supported": [
"VIRTUAL"
],
"innominate": true,
"months_to_expiration": 96,
"issued_account": 9,
"fee_account": 36,
"exchange_rate_type": "none",
"exchange_rate_amount": 100,
"local_withdrawal_allowed": true,
"international_withdrawal_allowed": true,
"local_ecommerce_allowed": true,
"international_ecommerce_allowed": true,
"local_purchases_allowed": true,
"international_purchases_allowed": true,
"product_id": "prd-20MpN8vmIPj77ujhb9cS8ctstN2",
"local_extracash_allowed": false,
"international_extracash_allowed": true,
"plastic_model": 388,
"provider": "MASTERCARD",
"kit_model": 122323,
"embossing_company": "THALES",
"courier_company": "ANDREANI"
},
"meta": {}
}