π
π
π
π
Payment API
Searchβ¦
π
π
π
π
Payment API
Introduction to BridgerPay
How to read this documentation
Get started
Solution map
Reference book
Glossary
FAQ
Solution
Overview
Regular Cashier
Server-side Cashier
Virtual Terminal
Payment Link
Plugins
WooCommerce for WordPress
Authorization
Authorize merchant
Cashier Initialization
Create server session
Payments
Get transaction by OrderID
Server to Server
Overview
Deposit with credit card
Get deposit by ID
Refunds
Give full refund
Give partial refund
PreAuth / Void / Capture
Payouts
Overview
Get payout details
Get payout providers
Create payout
Get payout by ID
Get payout with updated status by ID
Reporting
Statuses
Notifications
Event capture
Merchant Admin: Transactions, Payouts
Powered By
GitBook
Create server session
This method is used to create a server session for BridgerPay's Cashier and generate a unique cashier token.
Request example
1
POST /{{version}}/cashier/session/create/{{API_KEY}}
2
Content-Type: application/json
3
Host: {{API_URL}}
4
Authorization: Bearer {{ACCESS_TOKEN}}
5
Accept-Language: en
6
{
7
"cashier_key": "{{CASHIER_KEY}}",
8
"order_id": "g173aa02",
9
"first_name": "Juan",
10
"last_name": "Lopez",
11
"email": "
[email protected]
",
12
"language": "en",
13
"currency": "EUR",
14
"country": "NL",
15
"state": null,
16
"address": "Boenluif 30",
17
"city": "Hoogwoud",
18
"zip_code": "1718 AZ",
19
"direct_payment_method": "credit_card",
20
"amount": 45.36,
21
"currency_lock": false,
22
"amount_lock": false,
23
"phone": "+311234445566",
24
"affiliate_id": null,
25
"tracking_id": null,
26
"platform_id": null,
27
"payload": null,
28
"hide_header": false,
29
"pay_mode": true
30
}
Copied!
post
<URL>
/{{version}}/cashier/session/create/{{API_KEY}}
Create Server Session By Merchant API Key
Authorization - Previous
Authorize merchant
Next - Payments
Get transaction by OrderID
Last modified
13d ago
Copy link
Contents
Request example
post
Create Server Session By Merchant API Key