1.14. Withdrawal by SBP

Introduction

Withdrawal is a type of transaction which results in funds transfer from Connecting Party banking account to customer (receiver) banking account via faster payments system (SBP).

See terms definitions in Glossary.

Withdrawal Flow

@startuml
participant Receiver as R
participant "Connecting Party" as cp
autonumber
group Optional
R -> cp : Checkout
activate cp
end
== Payout request ==
cp -> "SBC": /api/v4/withdrawal-sbp/
activate "SBC"
"SBC" --> cp: Order ID
"SBC" --> "SBC": Processing\nWithdrawal
group Get Final Status
== Receive Connecting Party Callback ==
cp <- "SBC" : Callback with Final Status
"SBC" <-- cp: HTTP 200
deactivate "SBC"
== Order Status request ==
cp -> "SBC": Get status by Order ID\napi/v2/status
activate "SBC"
"SBC" --> cp : Response\nstatus,order-stage
deactivate "SBC"
end
group Optional
cp --> R: Show result
deactivate cp
end
@enduml

(1) Withdrawal can be initiated by Connecting Party based on internal business model or Receiver’s request.
(2) To implement SBP withdrawal transaction see /api/v4/withdrawal-sbp.
(5) To implement order status request see /api/v2/status/. Status should be requested multiple times with 3-5 seconds interval until final status will be received in response.
(7) To implement callback with final status handling see Connecting Party Callback.
(9) Final Status can be sent by Connecting Party based on internal business model or by Receiver’s request.