Sofort
PCT Integration option
Payment
Info
This integration option supports only `EUR` currency.
Request
Send a payment request with the following additional parameters:
Parameter | Type | Description |
---|---|---|
request | object | |
return_url * required |
string | URL to return the customer to when the transaction is completed. |
method | object | A section of the payment method information. |
type * required |
string | sofort |
customer | object | A section of the customer details. |
email * required |
string | The customer's email address. |
Request example
{
"request": {
"amount": 50000,
"currency": "EUR",
"description": "description",
"test": true,
"return_url": "https://return.com",
"customer": {
"email": "example@example.com"
},
"method": {
"type": "sofort"
}
}
}
Response
The sofort
response section will have the parameters copied from the request as well as the form
object to build a form where you should redirect the customer to finalize the payment.
Response example
{
"transaction": {
"uid": "1daecc01-7035-425c-85bf-ac3b88ff34b7",
"type": "payment",
"status": "pending",
"amount": 50000,
"currency": "EUR",
"description": "description",
"created_at": "2023-11-28T10:49:53Z",
"updated_at": "2023-11-28T10:49:53Z",
"method_type": "sofort",
"receipt_url": "https://dashboard.gold-charge.com/customer/transactions/1daecc01-7035-425c-85bf-ac3b88ff34b7/1b2d2b632e58fed723868ff61406f1c053b83cc7ba50d8aa1f73ed69ca38cbf5",
"payment": {
"status": "pending",
"gateway_id": 3462,
"ref_id": "1daecc01-7035-425c-85bf-ac3b88ff34b7",
"message": "Transaction was initialized"
},
"sofort": {
"type": "sofort"
},
"customer": {
"email": "example@example.com",
"ip": null
},
"manually_corrected_at": null,
"message": "Transaction was initialized",
"test": true,
"billing_address": {
"email": "example@example.com"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": true
},
"form": {
"action": "https://cashier.pct.eu/en/payment_systems/pay?id=ccce71c0-3477-410a-a370-661eb018bd78",
"method": "GET",
"fields": []
}
}
}