Request
Curl
Response
Success
Parameters
id mandatory
: string Unique identifier of the Payment Link.
Parameters
accept_partial
: boolean Indicates whether customers can make partial payments using the Payment Link. Possible values:
true: Customer can make partial payments.false(default): Customer cannot make partial payments.
amount
: integer Amount to be paid using the Payment Link. Must be in the smallest unit of the currency. For example, if you want to receive a payment of , you must enter the value 30000. In the case of three decimal currencies, such as KWD, BHD and OMR, to refund a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to refund a payment of 295, pass the value as 295.
Errors
invalid input [strippedId] = [xxxxxxxxxxxx]- code: 400
- description: An invalid Payment Link id has been passed.
- solution: Ensure that a valid Payment Link id is sent in the API endpoint.
- code: 400
- description: The Payment Link does not belong to the requestor business, or it doesn’t exist.
- solution: Ensure that the Payment Link is valid and belongs to the requestor business.
- code: 4xx
- description: There is a mismatch between the API credentials passed in the API call and the API credentials generated on the Dashboard.
- solution: Make sure that: - The API Keys are active and entered correctly.
- There are no white-spaces before or after the keys.