get payment
This block is part of the rabosmartpay group and was last modified in core v15.0.2.
get payment v15.0.2 Reads an order as Smart Pay holds it now: was it paid, with what, and which transaction to refund. The answer that does not depend on the customer coming back or on a webhook arriving : Smart Pay asks for it as the fallback to the webhook, not as a polling loop.
- flow
- connection
rabosmartpayconnectionrequired - order id
valuerequiredSmart Pay's order id, from create payment : not your own merchant order id.
- flow
- connection
rabosmartpayconnection - paid
conditionTrue only when the order is
COMPLETED. This is the pin to gate fulfilment on. - status
valueIN_PROGRESS,COMPLETED,CANCELLEDorEXPIRED. - order id
value - merchant order id
value - total amount
numberIn cents.
- paid amount
numberIn cents, the sum of the successful payment transactions.
- currency
value - transaction id
valueThe transaction that took the money. A refund names this.
- payment brand
valueWhat the customer paid with, e.g.
IDEAL. - transactions
array<object> - order
object - success
condition - error
valueSmart Pay's own message, e.g. merchantOrderId should only contain alphanumeric characters, or a sentinel for a problem in the wiring.
- error code
valueSmart Pay's code (
5017validation,5001authorization) or a sentinel likeSIGNATURE_MISMATCH.
order status |
payment status |
was it paid |
check payment |
Version history
Introduced in v15.0.2.
Service documentation
External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.Back to
rabosmartpay Return to the main group to view all sub-groups Back to payments Return to the group to view all blocks within this group