post https://example.com/Settlement
Galileo POST
s to /Settlement
to send Settlement Events to the client. A Settlement Event is triggered when a card financial transaction is settled or force posted.
Requests
The event data (described in the index pages that follow) will be in the body of the request, as JSON or form data.
JSON example (application/json
)
application/json
){
"type": "setl",
"act_type": "VI",
"amount": "10.75",
"auth_id": "254568",
"balance_id": "2011",
"cad": "12534",
"mcc": "5712",
"merchant_location": "NEW YORK, NY",
"merchant_name": "Widgets Incorporated",
"merchant_number": "L4DIV6D5LM4X7LF",
"network": "V",
"open_to_buy": "500.00",
"otype": "10",
"pmt_ref_no": "155200002022",
"prod_id": "1701",
"prog_id": "305",
"timestamp": "2019-10-09 11:20:33 MST"
}
Form example (application/x-www-form-urlencoded
)
application/x-www-form-urlencoded
)type=setl&act_type=VI&amount=10.75&auth_id=254568&balance_id=2011&cad=12534&mcc=5712&merchant_location=NEW+YORK%2C+NY&merchant_name=Widgets+Incorporated&merchant_number=L4DIV6D5LM4X7LF&network=V&open_to_buy=500&otype=10&pmt_ref_no=155200002022&prod_id=1701&prog_id=305×tamp=2019-10-09+11%3A20%3A33+MST
Responses
Value | Description | Retransmit |
---|---|---|
0 | Success | No |
1 | Parameters do not pass validation (parsing error) | No |
2 | Cardholder account not in system | No |
3 | General system failure | No |
4 | Authentication failed | No |
5 | Not ready to accept messages | Yes |
JSON example
{
"success_code": "0"
}
XML responses should use the webhook name (Settlement
) as the envelope.
XML example
<Settlement><success_code>0</success_code></Settlement>