BokaMera.API.Host

<back to all web services

DibsCallbackDto

The following routes are available for this service:
POST/licenses/dibscallback/Save Dibs CallbackThis service is used for the DIBS callback.
DibsCallbackDto Parameters:
NameParameterData TypeRequiredDescription
CompanyIdbodystringYesThe company id to save the credit card to
cardexpdatebodystringYesThe dibs card expiration date (yymm)
transactbodystringYesThe dibs transact id
cardnomaskbodystringYesThe dibs card number (masked)
paytypebodystringYesThe dibs paytype
currencybodystringYesThe dibs currency
acquirerbodystringYesThe dibs acquirer
approvalcodebodystringYesThe dibs approval code
statuscodebodystringYesThe dibs status code
amountbodystringYesThe dibs amount
RedirectUrlbodyuriYesThe redirect url to send user back to after added creditcard
TokenbodystringYesThe unique token for this request
StatusbodyenumYesstatus of the callback url
DibStatus Enum:
Success
Cancelled

To override the Content-type in your clients, use the 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 /licenses/dibscallback/ HTTP/1.1 
Host: api.bokamera.se 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	cardexpdate: String,
	transact: String,
	cardnomask: String,
	paytype: String,
	currency: String,
	acquirer: String,
	approvalcode: String,
	statuscode: String,
	amount: String,
	RedirectUrl: String,
	Token: String,
	Status: Success
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}