Sale status

Introduction

Sale status is initiated through HTTPS POST request by using URLs and the parameters.

Sale status request is made by Connecting Party’s app to Billblend to get the status of sale transaction.

It is recommended to send Sale status request for a period of 2-3 minutes with interval of 3-5 seconds between requests. Connecting Party’s server should rely on the callback for final status.

API URLs

IntegrationProduction
https://sandbox.billblend.com/checkout/dapi/v1/sale/{endpointId}/{invoiceId}/statushttps://pay.billblend.com/checkout/dapi/v1/sale/{endpointId}/{invoiceId}/status

Request Parameters

Parameter NameDescriptionValue
sessionTypeObject
session.accessTokenThe access token key received in Optional consumer authentication.Type: StringLength: 32-128
session.tokenThe session token of sale transaction.Type: StringLength: 16-36

Success Response Parameters

Parameter NameDescriptionValue
invoiceIdSale transaction identifier.Type: String
sessionTypeObject
session.tokenThe session token of sale transactionType: String
statePossible values: PROCESSINGREDIRECT_REQUESTAPPROVEDDECLINED.Type: Enum
bankOrderIdRequired if state is APPROVED or DECLINED.Necessity: ConditionalType: StringLength: 128
redirectUrlRequired if state is REDIRECT_REQUEST.Necessity: ConditionalType: StringLength: 128
orderIdOrder identifier in payment processing system.Necessity: ConditionalType: String
transactionNecessity: ConditionalTypeObject
transaction.amountCentisAmount of money transfered in centis, 1.00 EUR = 100 centis.Necessity: ConditionalType: Integer
transaction.commissionCentisAmount of commission held in centis (depends on the integration).Necessity: ConditionalType: Integer
transaction.orderCreatedDateOrder creation date in payment processing system.Necessity: ConditionalType: String
transaction.transactionCreatedDateTransaction creation date in payment processing system.Necessity: ConditionalType: String
errorCodeDecline reason code, may present if state is DECLINED.Necessity: OptionalType: Integer
errorMessageDecline reason message, may present if state is DECLINED.Necessity: OptionalType: StringLength: 128
secure3DAuthStatusPossible values: AUTHENTICATEDNOT_AUTHENTICATEDUNSUPPORTEDUNSUPPORTED means that card does not support 3-D Secure or 3DS authentication process finished with an unknown status.Necessity: OptionalType: Enum
randomSumAuthStatusPossible values: AUTHENTICATEDNOT_AUTHENTICATED.Necessity: OptionalType: Enum

Fail Response Parameters

Parameter NameDescriptionValue
errorTypeObject
error.causeCause of the error. Possible values: FILTEREDINVALID_REQUESTINTERNAL_ERRORPROCESSING_FAILEDORDER_NOT_FOUND.Type: Enum
error.codeThe unique error code.Type: String
error.messageDescription of the error.Type: String
invoiceIdSale transaction identifier.Type: String

Request Example

{
  "session": {
    "accessToken": "string",
    "token": "string"
  }
}

Success Response Example

{
  "bankOrderId": "string",
  "invoiceId": "string",
  "redirectUrl": "string",
  "session": {
    "token": "string"
  },
  "state": "enum"
}

Fail Response Example

{
  "error": {
    "cause": "enum",
    "code": "string",
    "message": "string"
  },
  "invoiceId": "string"
}

Request Builder

Request Builder is available at this link – https://doc.billblend.com/integration/API_commands/api_mobile_device/api_sale_status.html#request-builder

Contact us

By clicking on the button, you agree to the data protection policy

Complete the quiz

By clicking on the button, you agree to the data protection policy