Skip to main content

Resend Payment Link

This API gives your application the power to resend a payment link to a customer. If a customer has misplaced or not received their original payment link, your system can use this API to easily send it again via SMS or email. It's a simple and effective way to ensure a smooth payment process and a better customer experience without manual intervention.

Endpoint : https://demo-api.frontpayment.no/api/v1/connect/orders/resend/{{ORDER_UUID}}
Method : POST
Authorization : Bearer
Payload Validations :
'countryCode' => 'nullable|string',
'msisdn' => 'nullable|string',
'email' => 'nullable|email',
Example Payload :
{
    "countryCode": +47,
    "msisdn": "xxxxxxxx",
    "email": "[email protected]"
}

Response Structure :
{
    "status_code": 202,
    "status_message": "OK",
    "message": "resentOrderSuccessfully",
    "is_data": true,
    "data": null
}

{ "status_code": 417, "status_message": "Client Error", "message": "payloadValidationErrors", "is_error": true, "errors": "Array" }

{ "status_code": 404, "status_message": "Not Found", "message": "orderNotFound", "is_error": false, "errors": null }

{ "status_code": 400, "status_message": "Conflict of Business Logic", "message": "orderStatusAlreadyPaid", "is_error": false, "errors": null }

{ "status_code": 400, "status_message": "Conflict of Business Logic", "message": "orderStatusAlreadyCancelled", "is_error": false, "errors": null }

{ "status_code": 510, "status_message": "Execution Exception Occurred", "message": "somethingWentWrong", "is_error": true, "errors": "Array" }


Example Response :
{
    "status_code": 202,
    "status_message": "OK",
    "message": "resentOrderSuccessfully",
    "is_data": true,
    "data": null
}