GET /payment-method/{uid}

Récupère les informations détaillées d'un moyen de paiement par son identifiant.

Les informations incluent le nom, le type (tag), les modalités de paiement et si c'est le moyen par défaut.

Path parameters

  • uid string Required

    Identifiant unique du moyen de paiement

Responses

  • 200 application/json

    Détails du moyen de paiement

    Hide response attribute Show response attribute object
    • paymentMethod object
      Hide paymentMethod attributes Show paymentMethod attributes object
      • _id string

        Unique identifier for the payment method

      • company string

        Reference to the company

      • default boolean

        Whether this is the default payment method

      • isTest boolean

        Whether this is a test payment method

        Default value is false.

      • modality string

        Additional information about the payment method

      • name string

        Name of the payment method

      • public string

        Public information

      • rang string

        Paybox specific field

      • secret string

        Secret information

      • site string

        Paybox specific field

      • state string

        State of the payment method

        Values are active or inactive. Default value is active.

      • tag string

        Type of payment method

        Values are paybox, epayment, check, stripe, paypal, transfer, or other. Default value is other.

      • nbInvoices integer

        Number of invoices using this payment method

      • nbQuotes integer

        Number of quotes using this payment method

  • 404

    Moyen de paiement non trouvé

  • 403

    Non autorisé - Accès au moyen de paiement refusé

GET /payment-method/{uid}
curl \
 --request GET 'https://wuro.pro/api/v3.2/payment-method/{uid}' \
 --header "X-APP-ID: $API_KEY" \
 --header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
  "paymentMethod": {
    "_id": "string",
    "company": "string",
    "default": true,
    "isTest": false,
    "modality": "string",
    "name": "string",
    "public": "string",
    "rang": "string",
    "secret": "string",
    "site": "string",
    "state": "active",
    "tag": "other",
    "nbInvoices": 42,
    "nbQuotes": 42
  }
}