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
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, set to processing, rejected, processed, notprocessed, transformed, contested, toreplay, togenerate or 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: Retrieve one card transaction issue representation 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.eyJzY29wZSI6WyJhcGkiXSwiZXhwIjoxNTMwNjMzNTk0LCJqdGkiOiI2ODNmNGE1Ni1kZjQ3LTQ0ZWYtYmIxYy02MDJhYmFlNGYwYjgiLCJjbGllbnRfaWQiOiJkZW1vY3JlZGl0b3IwMSJ9.VSmbmu4upmKj5_lTiBlqtbqSH42yx83AB1IFXJs08Tw
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": {
"self": {
"href": "https://api.preprod.slimpay.com/card-transaction-issues/a8a810f7-2c5f-11e5-90f6-87f4f820c242"
},
"profile": {
"href": "https://api.preprod.slimpay.com/alps/v1/card-transaction-issues"
},
"https://api.slimpay.net/alps#get-creditor": {
"href": "https://api.preprod.slimpay.com/creditors/democreditor"
},
"https://api.slimpay.net/alps#get-subscriber": {
"href": "https://api.preprod.slimpay.com/creditors/democreditor/subscribers/subscriber01"
},
"https://api.slimpay.net/alps#get-card-transaction": {
"href": "https://api.preprod.slimpay.com/card-transactions/7f0498fc-2c7d-11e5-930b-a7ede373c85c"
}
}
}