The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/AgentRegistrationPaymentRequest HTTP/1.1
Host: testapi3.teamifg.com
Content-Type: text/jsv
Content-Length: length
{
AgentRegistrationTempId: 0,
StripeToken: String,
Password: String,
PromotionCode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Success: False,
Message: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
AgentPayment:
{
AgentId: 0,
Amount: String,
Approved: False,
AuthCode: String,
CardNumber: String,
Message: String,
ResponseCode: 0,
TransactionId: String,
AgentNumber: String
}
}