The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/AgentDebtPaymentRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: application/json
Content-Length: length
{"AgentDebts":[{"Id":0,"AgentId":0,"AmountOwed":0,"Description":"String","AgentPaymentId":0,"CreatedDate":"0001-01-01T00:00:00.0000000"}],"StripeToken":"String","CouponCode":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"AgentPayment":{"PaymentId":0,"AgentId":0,"Amount":"String","Approved":false,"AuthCode":"String","CardNumber":"String","Message":"String","ResponseCode":0,"TransactionId":"String","AgentNumber":"String"},"Success":false,"Message":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]},"StatusCode":"Continue"}