The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentDebtPaymentRequest HTTP/1.1
Host: api2.exactmedicare.com
Content-Type: text/jsv
Content-Length: length
{
AgentDebts:
[
{
Id: 0,
AgentId: 0,
AmountOwed: 0,
Description: String,
AgentPaymentId: 0,
CreatedDate: 0001-01-01
}
],
StripeToken: String,
CouponCode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}