Satispay

App · 4 actions

Read and manage Satispay Business payments.

Actions

ActionWhat it does
Create paymentCreate a one-off payment that a customer approves in Satispay.
Get paymentGet payment.
List paymentsList payments.
Update paymentUpdate payment.

Create payment

Create a one-off payment that a customer approves in Satispay.

Inputs

Amount unitamount_unitnumberRequired
The payment amount in cents. For example, to represent the amount `€12.40`, you should multiply it by `100`, resulting in `1240` cents.
CurrencycurrencytextRequired
The payment currency. Currently `EUR` is the only currency supported.One of: EUR.
External codeexternal_codetext
The external order id or payment identifier. We highly recommend to use this field by populating it with your internal order id. This string will be included in your reports for reconciliation and shown to the Satispay consumer in-app. This field has a maximum length of 50 characters, including spaces.
Callback urlcallback_urltext
The URL to be triggered via an HTTP GET request when there is a change in payment status. When the given `callback_url` is invoked, a GET request for payment details can be made to retrieve the updated payment status. Please note that `{uuid}` will be replaced with the generated payment id. e.g. `https://example.com/satispay-callback?payment_id={uuid}` You can read more [here](ref:callback-s2s).
Redirect urlredirect_urltext
This field specifies the URL where the user will be redirected after the payment flow from the Satispay app is completed. For instance, you can set this URL to ensure users are redirected to that specific page upon successful payment completion. e.g. `https://example.com/payment-redirect?order_id=your_order_id` Please note that this field doesn't support any placeholder.
Metadatametadataobject
The additional metadata for the payment. This field supports up to 20 key-value pairs, with keys limited to 45 characters and values limited to 500 characters each.

Outputs

dataobject
The response from Satispay.
Example output
{
  "data": {
    "amount_unit": 1,
    "code_identifier": "example",
    "currency": "EUR",
    "description": "example",
    "expire_date": "example",
    "expired": false,
    "external_code": "example",
    "flow": "example",
    "id": "example",
    "insert_date": "example",
    "metadata": {},
    "receiver": {
      "id": "example",
      "type": "example"
    },
    "redirect_url": "example",
    "sender": {
      "id": "example",
      "name": "example",
      "type": "example"
    },
    "status": "example",
    "type": "example"
  }
}

Get payment

Get payment.

Inputs

Paymentpayment_idtextRequired
The payment id to retrieve.

Outputs

dataobject
The response from Satispay.
Example output
{
  "data": {
    "amount_unit": 1,
    "code_identifier": "example",
    "currency": "EUR",
    "description": "example",
    "expire_date": "example",
    "expired": false,
    "external_code": "example",
    "flow": "example",
    "id": "example",
    "insert_date": "example",
    "metadata": {},
    "payment_options": {
      "buy_now_pay_later": {
        "is_buy_now_pay_later": false
      }
    },
    "receiver": {
      "id": "example",
      "type": "example"
    },
    "redirect_url": "example",
    "sender": {
      "id": "example",
      "name": "example",
      "type": "example"
    },
    "status": "example",
    "status_ownership": false,
    "type": "example"
  }
}

List payments

List payments.

Inputs

Statusstatustext
Filter by the payment status. `ACCEPTED` Shows all the payments in `ACCEPTED` status. `PENDING` Shows all the payments in `PENDING` status. `CANCELED` Shows all the payments in `CANCELED` status. Defaults to `ACCEPTED` if not specified.One of: ACCEPTED, PENDING, CANCELED. Default: ACCEPTED.
Limitlimitnumber
Set a limit on the number of returned payments in the response.From 1 to 100. Default: 20.
Starting afterstarting_aftertext
The ID of the last payment from the previous page. Used to retrieve the next set of payments in the list.
Starting after timestampstarting_after_timestampdate and time
Starting after timestamp.

Outputs

dataobject
The response from Satispay.
Example output
{
  "data": {
    "data": [],
    "has_more": false
  }
}

Update payment

Update payment.

Inputs

Paymentpayment_idtextRequired
The payment id to update.
Payment actionpayment_actiontextRequired
The action to execute on a specific payment. `ACCEPT` This action can be used to accept `PENDING` or `AUTHORIZED` payments. `CANCEL` This action can be used to cancel `PENDING` or `AUTHORIZED` payments. `CANCEL_OR_REFUND` This action can be used to cancel `PENDING` or `AUTHORIZED` payments. Or to refund a payment in status `ACCEPTED`. We suggest to execute this action only if you don't know the actual status of the payment. For example if you received a timeout or an HTTP `500`. Depending on the actual status of the payment, you will receive aOne of: ACCEPT, CANCEL, CANCEL_OR_REFUND (Cancel or refund).
Amount unitamount_unitnumber
The payment amount that you want to capture in cents. To represent the amount `€12.40`, you should multiply it by `100`, resulting in `1240` cents. This property is applicable only for payments in `AUTHORIZED` status. These payments must be created using either the `FUND_LOCK` or `PRE_AUTHORIZED_FUND_LOCK` flow. This amount must be equal or smaller than the amount set during the payment creation.

Outputs

dataobject
The response from Satispay.
Example output
{
  "data": {
    "amount_unit": 1,
    "currency": "EUR",
    "expire_date": "example",
    "expired": false,
    "id": "example",
    "insert_date": "example",
    "metadata": {},
    "receiver": {
      "id": "example",
      "type": "example"
    },
    "sender": {
      "id": "example",
      "name": "example",
      "type": "example"
    },
    "status": "example",
    "type": "example"
  }
}

On this page