API explorer

Theme switcher

Create Session

Creates a new Billink payment session by submitting merchant, customer, address, and order details. Returns a session URL that redirects the customer to the Billink checkout flow for completing the payment. Suitable for integrating Billink into your online checkout process.

The session remains valid until one of the following occurs:

  • The customer completes the payment,
  • The session is cancelled,
  • Or 1 hour has passed since the session was created.

All available errors for this endpoint you can find in errors section.

Body Parameters

clientobject Required

The client information associated with the session.

Show child attributes

customerobject Required

Information about the customer involved in the transaction.

Show child attributes

billingAddressobject Required

Show child attributes

shippingAddressobject

The address to which the product will be shipped.

Show child attributes

submerchantobject

Note: This object is optional and only used for specific internal cases. It can be safely ignored by most integrations.

Show child attributes

transactionobject Required

The details of the transaction being processed.

Show child attributes

Response

200
Object

Response Attributes

statusstring
sessionIDstring
sessionURLstring
invoicestring
expiresAtstring
customerIDstring
customInvoiceIDstring
400
Object

Response Attributes

error_backendobject

Show child attributes

404
Object

Response Attributes

statusstring
messagestring
416
Object

Response Attributes

http_status_codenumber
http_bodystring
http_body_encodingstring
Was this section helpful?

What made this section unhelpful for you?

POST

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?