POST | /licenses/dibscallback/ | Save Dibs Callback | This service is used for the DIBS callback. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | body | string | Yes | The company id to save the credit card to |
cardexpdate | body | string | Yes | The dibs card expiration date (yymm) |
transact | body | string | Yes | The dibs transact id |
cardnomask | body | string | Yes | The dibs card number (masked) |
paytype | body | string | Yes | The dibs paytype |
currency | body | string | Yes | The dibs currency |
acquirer | body | string | Yes | The dibs acquirer |
approvalcode | body | string | Yes | The dibs approval code |
statuscode | body | string | Yes | The dibs status code |
amount | body | string | Yes | The dibs amount |
RedirectUrl | body | uri | Yes | The redirect url to send user back to after added creditcard |
Token | body | string | Yes | The unique token for this request |
Status | body | enum | Yes | status of the callback url |
Success | |
Cancelled |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: testapi.bokamera.se
Accept: text/csv
Content-Type: text/csv
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/csv Content-Length: length {}