Get payment

Returns information for certain payment.

Request

  • HTTP Verb: GET
  • URI: /payment/{id}

Query Parameters

  • id: payment identifier.

Response Properties

id payment identifier
e-learning E-learning identifier
user user identifier
accessLink link that may be used to access the e-learning

Request example

curl -H "Request-Time: Wed, 11 Dec 2013 13:15:04 +0000" \
     -H "Api-Key: 78b47a40f93378a6a487919edea6e92c" \
     -H "Signature: 0a035961fbf7d2ffdc5ca8780e0a33cb3d6c3a5f8fb0623e886c9933377d3e1e" \
     http://wceaapi.org/v1.1/payment/1341

Output Example

{
  "_meta": {
   ...
  },
  "records": {
    "id": 1341,
    "e-learning": 1431243,
    "user": 456435,
    "accessLink":"http://abc.wcea.education/searchOnlineTraining/searchTrainingTitle/t/1431243/payment/175fcfcd935c7d3ae0f30eab2c27f406"
  }
}