Sale status
Introduction
API URLs
Integration  | 
Production  | 
|---|---|
https://sandbox.billblend.com/checkout/dapi/v1/sale/{endpointId}/{invoiceId}/status  | 
https://pay.billblend.com/checkout/dapi/v1/sale/{endpointId}/{invoiceId}/status  | 
Request Parameters
Parameter Name  | 
Description  | 
Value  | 
|---|---|---|
session  | 
Type: Object | 
|
session.accessToken  | 
The access token key received in Optional consumer authentication.  | 
Type: StringLength: 32-128 | 
session.token  | 
The session token of sale transaction.  | 
Type: StringLength: 16-36 | 
Success Response Parameters
Parameter Name  | 
Description  | 
Value  | 
|---|---|---|
invoiceId  | 
Sale transaction identifier.  | 
Type: String | 
session  | 
Type: Object | 
|
session.token  | 
The session token of sale transaction  | 
Type: String | 
state  | 
Possible values:   | 
Type: Enum | 
bankOrderId  | 
Required if state is   | 
Necessity: ConditionalType: StringLength: 128 | 
redirectUrl  | 
Required if state is   | 
Necessity: ConditionalType: StringLength: 128 | 
orderId  | 
Order identifier in payment processing system.  | 
Necessity: ConditionalType: String | 
transaction  | 
Necessity: ConditionalType: Object | 
|
transaction.amountCentis  | 
Amount of money transfered in centis, 1.00 EUR = 100 centis.  | 
Necessity: ConditionalType: Integer | 
transaction.commissionCentis  | 
Amount of commission held in centis (depends on the integration).  | 
Necessity: ConditionalType: Integer | 
transaction.orderCreatedDate  | 
Order creation date in payment processing system. 
 | 
Necessity: ConditionalType: String | 
transaction.transactionCreatedDate  | 
Transaction creation date in payment processing system.  | 
Necessity: ConditionalType: String | 
errorCode  | 
Decline reason code, may present if state is  
DECLINED. | 
Necessity: OptionalType: Integer | 
errorMessage  | 
Decline reason message, may present if state is  
DECLINED. | 
Necessity: OptionalType: StringLength: 128 | 
secure3DAuthStatus  | 
Possible values:   | 
Necessity: OptionalType: Enum | 
randomSumAuthStatus  | 
Possible values:   | 
Necessity: OptionalType: Enum | 
Fail Response Parameters
Parameter Name  | 
Description  | 
Value  | 
|---|---|---|
error  | 
Type: Object | 
|
error.cause  | 
Cause of the error. Possible values:   | 
Type: Enum | 
error.code  | 
The unique error code.  | 
Type: String | 
error.message  | 
Description of the error.  | 
Type: String | 
invoiceId  | 
Sale 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