Leepa Africa API

Sections

Theme switcher

Delete Purchase Session

Delete a specific purchase request.

Header Parameters

Content-Typestring
API-Keystring
Merchant-IDstring

Path Parameters

purchase_session_idstring

Response

201
Object
Payment Link Deleted Successfully.

Response Attributes

dataobject

Show child attributes

statusnumber
401
Object
The 401 Unauthorized HTTP status code indicates that the request has not been executed because it lacks valid authentication credentials for the target resource.

Response Attributes

errorstring

A human-readable text providing additional information, intended to aid the client developer in understanding the error that occurred. This field is optional and should be avoided if there is a concern that it could leak sensitive information.

statusnumber

A code indicating the type of error that occurred. For client authentication failures, invalid_client is commonly used.

400
Object

Response Attributes

errorstring

A human-readable text providing additional information, intended to aid the client developer in understanding the error that occurred. This field is optional and should be avoided if there is a concern that it could leak sensitive information.

statusnumber

A code indicating the type of error that occurred. For client authentication failures, invalid_client is commonly used.

409
Object
If a PAID payment request is requested to be deleted, the deletion will be denied.

Response Attributes

errorstring

A human-readable text providing additional information, intended to aid the client developer in understanding the error that occurred. This field is optional and should be avoided if there is a concern that it could leak sensitive information.

statusnumber

A code indicating the type of error that occurred. For client authentication failures, invalid_client is commonly used.

500
Object

Response Attributes

errorstring

A human-readable text providing additional information, intended to aid the client developer in understanding the error that occurred. This field is optional and should be avoided if there is a concern that it could leak sensitive information.

statusinteger

A code indicating the type of error that occurred. For client authentication failures, invalid_client is commonly used.

Was this section helpful?

What made this section unhelpful for you?

DELETE

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?