The custom identifier needs to be passed in the Payments or Orders API. Know more about custom identifiers .