Webservices REST pay system

Hi AXperts,

As per the requirement, I have some credit cards and I have to deduct the certain amount at the beginning of the month (Say 1st of every month), on 1st of every month, the batch job would be executed and it will deduct the sum from credit card through payment gateway. The gateway will send the response.

My query is-

1) In REST payment, how may I pass the User Name and Integration Password with URL ?

2) Any documentation / Sample code source would be highly appreciable.