Skip to content

MyBank

DC Integration option

Payment

Payment Flow

  1. The customer initiates the payment on the merchant's website.
  2. The merchant sends a payment request to PaySage.io.
  3. PaySage.io responds with a link to the payment page.
  4. The merchant redirects the customer to the payment page.
  5. The customer completes the payment.
  6. PaySage.io sends a webhook notification with the payment status to the merchant.

Info

This integration option supports only EUR currency.

Request

Send a payment request with the following additional data:

object
return_url
required
string
URL to return the customer to when the transaction is completed.
object
A section of the payment method.
type
required
string
my_bank
ip
string
The customer's IP address.
object
A section of the customer details.
first_name
required
string
The customer's first name.
last_name
required
string
The customer's last name.
country
required
string
The customer's country in the ISO 3166-1 Alpha-2 format. Possible values: GR (Greece), IT (Italy) and ES (Spain).
phone
string
The customer's phone number.
email
string
The customer's email address.
city
string (120)
The customer's billing city.
zip
string (40)
The customer's billing ZIP or postal code.
birth_date
string
The customer's date of birth in the ISO 8601 format (YYYY-MM-DD).
address
string (510)
The customer's billing address.
Request example
{
    "request": {
        "amount": 50,
        "currency": "EUR",
        "description": "description",
        "test": true,
        "return_url": "https://return.com",
        "language": "en",
        "customer": {
            "first_name": "John",
            "last_name": "Doe",
            "country": "IT"
        },
        "method": {
            "type": "my_bank"
        }
    }
}
Response

Redirect your customer to the URL received as the value of the form.action parameter.

Response example
{
    "transaction": {
        "uid": "86ff678d-d1d6-40ea-a256-993c1f2e8eef",
        "type": "payment",
        "status": "pending",
        "amount": 50,
        "currency": "EUR",
        "description": "description",
        "created_at": "2025-09-18T07:21:22Z",
        "updated_at": "2025-09-18T07:21:23Z",
        "method_type": "my_bank",
        "receipt_url": "https://backoffice.paysage.io/customer/transactions/86ff678d-d1d6-40ea-a256-993c1f2e8eef/2ed69188076c02f135787ae046584a71f7fdbb2d9519cd8f207bf5e264425b9e?language=en",
        "payment": {
            "status": "pending",
            "gateway_id": 5220,
            "ref_id": "8005bd76c486062fc0d3",
            "message": "Transaction was initialized."
        },
        "my_bank": {
            "type": "my_bank"
        },
        "customer": {
            "country": "IT",
            "last_name": "Doe",
            "first_name": "John",
            "email": null,
            "ip": null
        },
        "manually_corrected_at": null,
        "version": 1,
        "message": "Transaction was initialized.",
        "test": true,
        "language": "en",
        "billing_address": {
            "country": "IT",
            "last_name": "Doe",
            "first_name": "John"
        },
        "additional_data": {
            "payment_method": {
                "type": "alternative"
            }
        },    
        "gateway": {
            "iframe": false
        },
        "form": {
            "action": "link_to_payment_page",
            "fields": [],
            "method": "GET"
        }
    }
}