Interac

Capture and interac payment. Request to this endpoint returns a gateway_url that you can present to your users in-app in a webview to complete a CAD incoming payment via interac

Capture(incoming)

POST /payment-sessions/{payment_id}

Response

{
    "data": {
        "auth_type": null,
        "expires_at": "2024-04-09T01:11:30.239705Z",
        "links": {
            "redirect_url": "https://gateway-web.fit.interac.ca/reqPayment/eml/CA1MRz75R4Hy"
        },
        "message": "Waiting for payment",
        "payment": {
            "amount": 100,
            "cancellation_reason": null,
            "correlation_id": "83a68c5a-f5a9-11ee-a91f-feb7e1bada9f",
            "currency": "CAD",
            "customer": {
                "first_name": "John",
                "last_name": "Doe",
                "email": "john.doe@example.com",
                "phone_number": "+2348118873422",
                "billing_address": {
                    "line1": "123 Main St",
                    "line2": "",
                    "city": "Springfield",
                    "state": "CA",
                    "country": "US",
                    "zip_code": "12345"
                }
                "business_id": "3d6c9e2e-1caf-4807-97ff-bbd35fc4dc1b",
                "id": "d05e51df-809e-498a-ac3f-7acfc0b5d35d",
            },
            "date": "2024-04-08T13:11:30.207263Z",
            "description": "Deposit",
            "id": "83a6783c-f5a9-11ee-8831-feb7e1bada9f",
            "metadata": {
                "order": {
                    "identifier": "juice-deposit-3ed8b1ed-89b3-45a3-9eb4-db10300df6bd",
                    "items": [
                        {
                            "name": "Deposit",
                            "type": "digital"
                        }
                    ]
                }
            },
            "mode": "live",
            "payment_method": ,
            "reference": "ref-juice-360e19cc-07ee-4d36-99e3-1744fb45de93",
            "status": "pending"
        },
        "status": "pending"
    }
}

Last updated