Bombshell Agency Platform Service

<back to all web services

StripeCardRequest

The following routes are available for this service:
POST,PUT,DELETE,OPTIONS/v1/StripeCard
GET/v1/StripeCard/Agent/{AgentId}

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/StripeCardRequest HTTP/1.1 
Host: api.responsible-advisor.com 
Content-Type: text/jsv
Content-Length: length

{
	AgentId: 0,
	StripeCard: 
	{
		StripeCardId: String,
		StripeCustomerId: String,
		AgentId: 0,
		Last4: String,
		NickName: String,
		IsDefault: False,
		Deleted: False,
		StripeSource: 
		{
			id: String,
			exp_month: String,
			exp_year: 0,
			address_city: String,
			address_line1: String,
			address_line2: String,
			address_state: String,
			address_zip: String,
			name: String
		}
	},
	StripeCardId: String,
	StripeCardToken: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	},
	PaymentSuccess: False,
	SubscriptionSuccess: False,
	Message: String,
	AgentNumber: String,
	CustomerPayment: 
	{
		ID: 0,
		CustomerID: 0,
		OrderHeaderID: 0,
		Amount: String,
		Approved: False,
		AuthCode: String,
		CardNumber: String,
		Message: String,
		ResponseCode: 0,
		TransactionId: String,
		TransactionDate: 0001-01-01,
		FullResponse: String,
		PaymentStatus: 0,
		PaymentType: 0
	},
	PublicOrderID: String
}