Cost+Docs

Vipps / MobilePay

Glac le híocaíochtaí soghluaiste Vipps agus MobilePay

Is modhanna íocaíochta soghluaiste coitianta Nordacha iad Vipps (an Iorua) agus MobilePay (An Danmhairg/An Fhionlainn), atá aontaithe anois faoi chomhtháthú amháin.

Cumraíocht

SocrúLuach
payment_method"vipps-mobilepay"

Ordú a Chruthú

POST /v1/orders/
{
  "merchant_order_id": "order-456",
  "currency": "NOK",
  "amount": 29900,
  "return_url": "https://www.example.com",
  "webhook_url": "https://www.example.com/webhook",
  "transactions": [
    {
      "payment_method": "vipps-mobilepay"
    }
  ],
  "customer": {
    "phone_numbers": ["+4712345678"]
  }
}

Cuir phone_numbers sa réad customer chun uimhir ghutháin an chustaiméara a réamhlíonadh in aip Vipps/MobilePay, ag laghdú frithchuimilt.

Údarú & Gabháil

Tacaíonn Vipps/MobilePay le húdarú de láimh le gabháil ar leith:

POST /v1/orders/ (with authorization)
{
  "currency": "NOK",
  "amount": 29900,
  "capture_mode": "manual",
  "return_url": "https://www.example.com",
  "webhook_url": "https://www.example.com/webhook",
  "transactions": [
    {
      "payment_method": "vipps-mobilepay"
    }
  ]
}

Roghanna Gabhála

Tar éis údaraithe, gabh ag úsáid aon cheann de na modhanna seo:

CríochphointeCur Síos
POST /v1/orders/\{id\}/captures/Gabháil iomlán
POST /v1/orders/\{id\}/captures/amount/Méid sonrach a ghabháil
POST /v1/orders/\{id\}/captures/orderlines/Gabháil de réir líne ordaithe

Aisíocaíochtaí

Íocaíocht Vipps/MobilePay a aisíoc:

POST /v1/orders/{id}/refunds/
{
  "amount": 10000,
  "description": "Partial refund"
}

Tástáil

Déantar tástáil Vipps/MobilePay trí thimpeallacht tástála Vipps. Déan teagmháil leis an tacaíocht le haghaidh dintiúir thástála agus socrú timpeallachta.

Le haghaidh tuilleadh sonraí ar oibríochtaí gabhála agus neamhnithe, féach ar an treoir Údarú / Gabháil / Neamhniú. Le haghaidh sonraí próiseála aisíocaíochta, féach ar Aisíocaíochtaí.

On this page