'Accept': 'application/json'
'Content-Type': 'application/json'
Also, the body that Greenpay will send to each service will be a json object, like the following:
{
"status": 200,
"orderId": "xwr-123455",
"authorization": "533793",
"last4": "7777",
"brand": "Visa",
"result": {
"time_local_tran": "165407",
"systems_trace_audit_number": "000283",
"success": true,
"retrieval_ref_num": "701016540713",
"resp_code": "00",
"reserved_private4": null,
"proc_code": "000000",
"network_international_id": "0003",
"mti": "0210",
"merchant_id": 485,
"date_local_tran": "0110",
"card_acceptor_terminal_id": "00112478",
"authorization_id_resp": "533793"
},
"errors": [],
"callback": "http://yourcallback.url/getcheckoutform/response",
"_signature": "2e9d23b19490531456....47aa7ce262c9c4d4589a26bc8aad046bce4"
}