Construct Header
Besides the ‘Authorization’ header, every DuitNow Pay API end point shall have the header formatted as below:
Request
X-Ip-Address | String | Max length: 100 | Required | |||
IPV4 or IPV6 address where the transaction is triggered from. Sample IPV4: 10.236.166.145 Sample IPV6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 *If unable to obtain the IP Address from user, you may pass in '0' in this field. | ||||||
X-Gps-Coordinates | String | Max length: 35 | Required | |||
Location of the sender in decimal degree coordinate e.g. 40.689263, 74.044505 *If unable to obtain the GPS Coordinates from user, you may pass in '0' in this field. |