This endpoint represents all payment-related operations that are part of a given transaction.
The operations that can be returned in by this endpoint are:
GET /transactions/{hash}/payments{?cursor,limit,order}
Arguments
Name | Notes | Description | Example |
---|---|---|---|
hash | required, string | A transaction hash, hex-encoded | 6391dd190f15f7d1665ba53c63842e368f485651a53d8d852ed442a446d1c69a |
?cursor | optional, default null | A paging token, specifying where to start returning records from. | 12884905984 |
?order | optional, string,default asc | The order in which to return rows, “asc” or “desc”. | asc |
?limit | optional, number, default 10 | Maximum number of records to return. | 200 |
Response
This endpoint responds with a list of payment operations in a given ledger. See operation resourcefor more information about operations (and payment operations).
{
"_embedded" : {
"records" : [
{
"_links" : {
"effects" : {
"href" : "/operations/47184510717953/effects",
"templated" : true
},
"precedes" : {
"href" : "/effects?order=asc\u0026cursor=47184510717953"
},
"self" : {
"href" : "/operations/47184510717953"
},
"succeeds" : {
"href" : "/effects?order=desc\u0026cursor=47184510717953"
},
"transactions" : {
"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79"
},
"account" : "GB55ZCH6WXZLJRUP3J36NHZSMIPNW24LZNGAOOLMFTJTIRZCCSUTY7XW",
"funder" : "GBXVKIPRDNPTXA6R6OREEY3GDFDUUR6MTY7XKBO62QVXRG4ZQBAMWMEO",
"id" : 47184510717953,
"paging_token" : "47184510717953",
"starting_balance" : 100000.0000000,
"type_i" : 0,
"type" : "create_account"
}
}
],
"_links" : {
"next" : {
"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79/payments?cursor=47184510717953\u0026limit=10\u0026order=asc"
},
"prev" : {
"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79/payments?cursor=47184510717953\u0026limit=10\u0026order=desc"
},
"self" : {
"href" : "/transactions/6558ca87a30140492eaa8a88572d45fb2728ebbc1eccf48f2dc6ddfe8cae2d79/payments?cursor=\u0026limit=10\u0026order=asc"
}
}
}
Support Agent
*Powered by HashCash