Non-3D pre-authorization: blocks the amount; charge it with capture()
Card type, scheme, program and bank of a BIN (getpos).
Cancels a payment: refunds what is left of it (a void on the same day), or
releases it when it is an open pre-authorization. paymentId is the invoice id.
Charges (all or part of) a pre-authorized amount (confirmPayment, status 1).
paymentId is the invoice id.
Completes a 3D Secure payment from the fields Sipay POSTs to return_url or cancel_url.
Only the hash key is trusted: it is decrypted with the app secret and its
content (status, total, invoice id, order id, currency) decides the result.
A callback without a valid hash key, or whose invoice id or order id differs
from the hash key, is rejected as INVALID_HASH and carries no ids.
rawResponse.verified holds the verified values: compare total with
the amount of your order.
Non-3D payment (paySmart2D). Sipay enables non-3D payments per merchant.
Deletes a saved card
Payment status (checkstatus). paymentId is the invoice id.
3D Secure pre-authorization; complete it with completeThreeDSPayment()
3D Secure payment (paySmart3D). Returns Sipay's 3D Secure page; Sipay posts the result to callbackUrl (return_url) on success and to failUrl (cancel_url, default: callbackUrl) on failure. Complete it with completeThreeDSPayment().
Installment options for a card (getpos), with the amount to charge for each count as calculated by Sipay.
A customer's saved cards
Full or partial refund. Sipay voids a refund of a same-day payment, so no
separate cancel call is needed. paymentId is the invoice id.
Saves a card with the provider without charging it
Releases a pre-authorization (confirmPayment, status 2). paymentId is the invoice id.
Sipay (paySmart2D / paySmart3D)
paymentIdis the invoice id (conversationId, or a generated one). Requests carry a Bearer token, requested with appId / appSecret and reused until it expires.