cURL
curl --request GET \ --url http://api.gu1.ai/entities/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "id": "<string>", "entityType": "<string>", "entityData": {}, "relationships": [ {} ], "riskScore": 123, "createdAt": "<string>" }
Recuperar uma entidade de método de pagamento por ID
GET http://api.gu1.ai/entities/{id}
Authorization: Bearer YOUR_API_KEY
curl -X GET "http://api.gu1.ai/entities/payment-method-uuid-123" \ -H "Authorization: Bearer YOUR_API_KEY"
"payment_method"
{ "success": true, "id": "payment-method-uuid-123", "entityType": "payment_method", "entityData": { "paymentMethod": { "type": "credit_card", "last4": "4242", "brand": "visa", "expiryMonth": "12", "expiryYear": "2025", "holderName": "John Doe", "issuerCountry": "BR", "bin": "424242", "funding": "credit" } }, "relationships": [ { "targetEntityId": "person-uuid-123", "relationshipType": "owns", "strength": 1.0 } ], "riskScore": 15, "createdAt": "2024-01-15T10:00:00.000Z" }
Was this page helpful?