Reference

This is a flat view of all the representations and relations. If you would rather explore our API starting from the Entry Point, please use the Browser.

Quick reminder:
  • Representation: a set of name-value pairs representing the state of a resource.
  • Relation: the identifier of a link between two resources.

card-transaction-issues

  1. card-transaction-issue-representation
  2. get-card-transaction-issue
  3. get-card-transaction-issues

1. card-transaction-issue-representation

Description: A card transaction issue representation. A card transaction issue is an issue that can happen when executing a card transaction.

Properties
id
The card transaction issue id. Constraints: 36 characters or less, Read-Only.
rejectAmount
The amount that has been rejected. Constraints: Integer, Read-Only.
rejectReason
The reason why the card transaction has been rejected. Constraints: Text, 255 characters or less, Read-Only.
returnReasonCode
ISO-20022 return reason code. Constraints: 4 characters or less, Read-Only.
executionStatus
The card transaction execution status. Constraints: Text among processing|rejected|processed|notprocessed|transformed|contested|toreplay|togenerate|toprocess, Read-Only.
dateCreated
The date when this resource has been created. DateTime, ISO8601, Read-Only.

2. get-card-transaction-issue (relation)

Description: Get one card transaction issue.

Properties

No dynamic property needed. This usually means that the server already took the liberty to build the full URL for you depending on the context. Less code for you!

3. get-card-transaction-issues (relation)

Description: Get one card transaction issue.

Properties
id
The card transaction issue id. Constraints: 36 characters or less, Read-Only.
Example: Get one card transaction by id
Request
GET follow(https://api.slimpay.net/alps#get-card-transaction-issues) HTTP/1.1
Accept: application/hal+json; profile="https://api.slimpay.net/alps/v1"
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJhcGkiXSwiZXhwIjoxNDg4NDc0NzI1LCJqdGkiOiI3OThhNGEyYy1hOGE4LTQwNmItOGY0YS1mMjE3ZmNhMTM5YjciLCJjbGllbnRfaWQiOiJkZW1vY3JlZGl0b3IwMSJ9.VoN5FoWOoPfLkJU15ZIcYp2iRam4WJoVfMBw_35XCkw
Response
HTTP/1.1 200 OK
Content-Type: application/hal+json; profile="https://api.slimpay.net/alps/v1";charset=UTF-8
Content-Length: 943

{
    "dateCreated": "2015-07-17T12:15:44.000+0000",
    "executionStatus": "rejected",
    "id": "a8a810f7-2c5f-11e5-90f6-87f4f820c242",
    "rejectAmount": "192.50",
    "rejectReason": "No funds",
    "returnReasonCode": "AG01",
    "_links": {
        "https://api.slimpay.net/alps#get-subscriber": {
            "href": "https://api-sandbox.slimpay.net/creditors/democreditor/subscribers/subscriber01"
        },
        "https://api.slimpay.net/alps#get-card-transaction": {
            "href": "https://api-sandbox.slimpay.net/card-transactions/7f0498fc-2c7d-11e5-930b-a7ede373c85c"
        },
        "https://api.slimpay.net/alps#get-creditor": {
            "href": "https://api-sandbox.slimpay.net/creditors/democreditor"
        },
        "self": {
            "href": "https://api-sandbox.slimpay.net/card-transaction-issues/a8a810f7-2c5f-11e5-90f6-87f4f820c242"
        },
        "profile": {
            "href": "https://api-sandbox.slimpay.net/alps/v1/card-transaction-issues"
        }
    }
}