API-verkenner

Theme switcher

Create Session

Maakt een nieuwe Billink-betaalsessie aan door gegevens van de merchant, klant, adres en bestelling in te dienen.

Retourneert een sessie-URL die de klant doorstuurt naar de Billink-checkout om de betaling te voltooien.

Geschikt voor integratie van Billink in je online checkoutproces.

De sessie blijft geldig totdat een van de volgende situaties zich voordoet:

• De klant voltooit de betaling,

• De sessie wordt geannuleerd,

• Of er is 1 uur verstreken sinds de sessie is aangemaakt.

Alle mogelijke foutmeldingen voor deze endpoint zijn te vinden in de sectie met foutcodes.

Body Parameters

clientobject Required

De client die bij de sessie hoort.

Show child attributes

customerobject Required

Informatie over de klant die betrokken is bij de transactie.

Show child attributes

billingAddressobject Required

Show child attributes

shippingAddressobject

Het adres waar het gekochte product naartoe wordt verzonden.

Show child attributes

submerchantobject

Opmerking: Dit object is optioneel en wordt alleen gebruikt voor specifieke interne gevallen. Het kan veilig worden genegeerd door de meeste integraties.

Show child attributes

transactionobject Required

Details met betrekking tot de transactie.

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?