Query for a money transfer using transactionReference and entity.
Methods
GET
Perform a query by transactionReference and entity.
Responses
Response schema
Copied!
{
"type": "object",
"properties": {
"_links": {
"type": "object",
"properties": {
"self": {
"type": "object",
"properties": {
"href": {
"type": "string"
},
"templated": {
"type": "boolean"
}
},
"required": [
"href"
]
}
},
"required": [
"self"
]
},
"outcome": {
"type": "string"
},
"receivedAt": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"_links",
"outcome",
"receivedAt"
]
}
{ "type": "object", "properties": { "_links": { "type": "object", "properties": { "self": { "type": "object", "properties": { "href": { "type": "string" }, "templated": { "type": "boolean" } }, "required": [ "href" ] } }, "required": [ "self" ] }, "outcome": { "type": "string" }, "receivedAt": { "type": "string" }, "type": { "type": "string" } }, "required": [ "_links", "outcome", "receivedAt" ] }
Examples
A query for a pushToCard money transfer with an outcome of approved.
GEThttps://try.access.worldpay.com/moneyTransfers/query?transactionReference={transactionReference}&entity={entity}
Copied!
{
"Authorization": "Basic Auth",
"Accept": "application/vnd.worldpay.money-transfers-v1+json"
}
{ "Authorization": "Basic Auth", "Accept": "application/vnd.worldpay.money-transfers-v1+json" }
200
Copied!
{
"outcome": "approved",
"type": "pushToCard",
"receivedAt": "2022-01-01T00:00:00Z",
"_links": {
"self": {
"href": "https://try.access.worldpay.com/moneyTransfers/{resource}"
}
}
}
{ "outcome": "approved", "type": "pushToCard", "receivedAt": "2022-01-01T00:00:00Z", "_links": { "self": { "href": "https://try.access.worldpay.com/moneyTransfers/{resource}" } } }