New User | Returning User |
---|---|
![]() | ![]() |
create user
endpoint.
get user
and parse the response.
Example request to Push User Service
Your payment page | Push User Widget |
---|---|
![]() | ![]() |
![]() | ![]() |
create widget url
endpoint. Provide the user’s ID and direction of their payment.
PushCash
namespace on the window. Use the Widget function to render the Push User Widget. Provide the target element on the DOM where the component will render and the URL.
Styling & Dimensions
Card Unsubmitted | Payment Processing |
---|---|
![]() | ![]() |
authorize payment
.
200 OK
401 Unauthorized
202 Accepted
Transaction Approved | Transaction Declined |
---|---|
![]() | ![]() |
Payment Unsubmitted | Payment Authorizing | Authentication Required |
---|---|---|
![]() | ![]() | ![]() |
get an intent
to determine the result of the payment.
Depending on your application architecture, you must take different approaches to presenting the authentication flow to users so they can complete their payments on Push.
get an intent
endpoint.redirect_url
parameter in the json request body.
example request
intent_id
parameter from the URL and make an authenticated request to get an intent
to determine the status of the payment
pushcash://
or similar.
example request
intent_id
parameter from the URL and make an authenticated request to get an intent
to determine the status of the payment.