Consulter un compte distant

GET /api/partners/(string: partner_name)/accounts/(string: login)

Renvoie le compte ayant le login login rattaché au partner partner_name.

En-têtes de requête:
Status Codes:
Objet JSON de réponse:
  • login (string) – Le login du compte

  • authorizedRules (object) –

    Les règles que le compte est autorisé à utiliser pour les transferts.

    • sending (array of string) - Les règles d’envoi.

    • reception (array of string) - Les règles de réception.

Exemple de réponse

GET https://my_waarp_gateway.net/api/partners/waarp_sftp/account/titi HTTP/1.1
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

Exemple de réponse

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 152

{
  "login": "titi",
  "authorizedRules": {
    "sending": ["règle_envoi_1", "règle_envoi_2"],
    "reception": ["règle_récep_1", "règle_récep_2"]
  }
}