Create Slip Payment
Create a P2P session for slip-only fiat payment. Returns a session token and redirect URL for the depositor to submit their slip.
https://testnet.trustsig.xyz/v1/p2p/public/session/createAuthentication Status
API Key is required for all requests Webhook Secret
Headers
x-api-keyAPI Key for authentication
x-signatureHMAC-SHA256 signature for authentication
x-timestampTimestamp (milliseconds) for signature
X-Idempotency-KeyUnique key สำหรับป้องกันการทำรายการซ้ำ (เช่น UUID)
Parameters (Request Body)
roleบทบาทของผู้ใช้ session (ใช้ DEPOSITOR สำหรับฝั่งผู้ฝากเงิน)
ttl_secondsอายุของ session เป็นวินาที (เช่น 1200 = 20 นาที)
profile.depositor.sender_bankรหัสธนาคารของผู้ฝาก (เช่น SCB, KBANK, BBL)
profile.depositor.sender_accountเลขบัญชีธนาคารของผู้ฝาก
amountจำนวนเงินที่ต้องการชำระ (หน่วยเป็นบาท)
order_idA unique order reference ID from your system (e.g., mystore_order_1234, uuid). Please use the same Order ID for the same transaction and do not generate a new one.
order_user_referenceCustomer Name
return_urlURL ที่จะ redirect กลับเมื่อทำรายการเสร็จสิ้น
