Skip to main content

Get Partner Info

You can view your information using this service.

{/ DEV NOTE (not rendered): bff-service's PartnerDto (the actual source of this data) also has a callbackUrl field, but partner-gateway's own PartnerDto doesn't declare it, so it's silently dropped when proxied through partner-gateway.PartnerController#getInfo(). Not documented here since it doesn't currently reach the partner. Confirm with engineering whether this should be added to partner-gateway's PartnerDto. See egaranti.dev docs audit for details. /}

Request

curl --location --request GET '<BASE_URL>/partners/info'
--header 'Content-Type: application/json'
--header 'Authorization: Basic ZGVtbzpwQDU1dzByZA=='

Response

200 OK
{
"id": 1,
"title": "egaranti Partner",
"code": "EGRT",
"username": "egaranti",
"password": "123",
"createdAt": "2024-02-27 21:58",
"updatedAt": "2024-02-28 21:55"
}