payments

Retrieves the status of a payment

The response follow the model of an xmResponse with a finalisePaymentResponse.

get/v0/payments/{payment_id}/status

Request

  • Base URL: https://api.clubmed.com
  • URL: https://api.clubmed.com/v0/payments/{payment_id}/status
  • Auth: HTTP bearer

Path parameters

payment_idstring required

Payment id

Example:BU-340-R-137667

Headers

x-api-keystring required

Api_key provided by ClubMed API team

Response

ok

errorsstring

Should be null, for compatibility only

Example response

{
  "finalisePaymentResponse": {
    "paiement": {
      "action_code": "CM",
      "channel_code": "CTA",
      "statutPaiement": "OK",
      "serveurId": "EOGONE",
      "montantVersement": "1234.56",
      "codeDevise": "EUR"
    },
    "dossier": {
      "numeroDossier": "12345678",
      "numeroContrat": "12345678",
      "numeroClient": "12345678"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.